Spaces:
Runtime error
Runtime error
Commit
·
18734c9
1
Parent(s):
fe76c2d
Update app.py
Browse files
app.py
CHANGED
@@ -18,5 +18,5 @@ def t2i(text):
|
|
18 |
image = Image.open('image.png')
|
19 |
return image
|
20 |
|
21 |
-
iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image")
|
22 |
iface.launch(share=True)
|
|
|
18 |
image = Image.open('image.png')
|
19 |
return image
|
20 |
|
21 |
+
iface = gr.Interface(fn=t2i, inputs="text", outputs=[gr.Image(label="Generated Image")]).launch()
|
22 |
iface.launch(share=True)
|