Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -63,5 +63,5 @@ def plex(modil,prompt,neg_prompt):
|
|
63 |
return image
|
64 |
|
65 |
iface = gr.Interface(fn=plex,inputs=[gr.Dropdown(choices=models, type="value", value=models[0]), gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality")],outputs=gr.Image(label="Generated Output Image"), title="AutoPipelineForText2Image_SD_Multi",description="AutoPipelineForText2Image_SD_Multi")
|
66 |
-
iface.queue(max_size=1)
|
67 |
iface.launch(max_threads=1)
|
|
|
63 |
return image
|
64 |
|
65 |
iface = gr.Interface(fn=plex,inputs=[gr.Dropdown(choices=models, type="value", value=models[0]), gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality")],outputs=gr.Image(label="Generated Output Image"), title="AutoPipelineForText2Image_SD_Multi",description="AutoPipelineForText2Image_SD_Multi")
|
66 |
+
iface.queue(max_size=1,api_open=False)
|
67 |
iface.launch(max_threads=1)
|