Spaces:
Runtime error
Runtime error
Commit
·
0f8ee2d
1
Parent(s):
7a51cf0
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ model = StableDiffusionPipeline(
|
|
17 |
)
|
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")]).launch()
|
24 |
-
iface.launch()
|
|
|
17 |
)
|
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")]).launch()
|
24 |
+
iface.launch(share=True)
|