Spaces:
Runtime error
Runtime error
Commit
·
e1d7322
1
Parent(s):
e5bf0ee
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ model = StableDiffusionPipeline(
|
|
18 |
|
19 |
def t2i(text):
|
20 |
image, url = model(text)
|
21 |
-
return image
|
22 |
|
23 |
iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image"), gr.Textbox(label="")]).launch()
|
24 |
iface.launch()
|
|
|
18 |
|
19 |
def t2i(text):
|
20 |
image, url = model(text)
|
21 |
+
return image
|
22 |
|
23 |
iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image"), gr.Textbox(label="")]).launch()
|
24 |
iface.launch()
|