Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,6 @@ def plex(prompt,neg_prompt):
|
|
14 |
image = pipe(prompt=prompt, negative_prompt=neg_prompt,num_inference_steps=10).images[0]
|
15 |
return image
|
16 |
|
17 |
-
iface = gr.Interface(fn=plex,inputs=[gr.
|
18 |
iface.queue(max_size=1,api_open=False)
|
19 |
iface.launch(max_threads=1)
|
|
|
14 |
image = pipe(prompt=prompt, negative_prompt=neg_prompt,num_inference_steps=10).images[0]
|
15 |
return image
|
16 |
|
17 |
+
iface = gr.Interface(fn=plex,inputs=[gr.Textbox(label="Prompt"), gr.Textbox(label="negative_prompt", value="low quality, bad quality")],outputs=gr.Image(label="Generated Output Image"), title="Txt2Img_Overall_v1_SD",description="Running on cpu, very slow!")
|
18 |
iface.queue(max_size=1,api_open=False)
|
19 |
iface.launch(max_threads=1)
|