Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,5 +54,5 @@ def text_to_image(summary, image_name):
|
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
-
iface = gr.Interface(fn=text_to_image,
|
| 58 |
iface.launch()
|
|
|
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
+
iface = gr.Interface(fn=text_to_image, inputs=[Textbox(label="Summary"), Textbox(label="Image Name")], outputs="text")
|
| 58 |
iface.launch()
|