SAUL19 commited on
Commit
046df59
·
1 Parent(s): 36c015f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,5 +52,5 @@ def text_to_image(summary, image_name):
52
 
53
 
54
 
55
- iface = gr.Interface(fn=text_to_image, inputs="text", outputs="text")
56
  iface.launch()
 
52
 
53
 
54
 
55
+ iface = gr.Interface(fn=text_to_image, inputs=[gr.inputs.Text(label="Summary"), gr.inputs.Text(label="Image Name")], outputs="text")
56
  iface.launch()