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