tommy24 commited on
Commit
1a386fc
·
1 Parent(s): a6e6306

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -182,7 +182,9 @@ inputs = [
182
  gr.inputs.Textbox(label="Textbox3",type="password")
183
  ]
184
 
185
- iface = gr.Interface(fn=function, inputs=inputs, outputs="image")
 
 
186
 
187
  iface.launch()
188
 
 
182
  gr.inputs.Textbox(label="Textbox3",type="password")
183
  ]
184
 
185
+ outputs = gr.outputs.Image(type="file")
186
+
187
+ iface = gr.Interface(fn=function, inputs=inputs, outputs=outputs)
188
 
189
  iface.launch()
190