vilarin commited on
Commit
572a837
·
verified ·
1 Parent(s): d0a1d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,5 +48,5 @@ def main(text_input="", image_input=None):
48
  elif image_input is not None:
49
  return process_image(image_input)
50
 
51
- iface = gr.Interface(fn=main, inputs=["text", gr.inputs.Image()], outputs="text")
52
- iface.launch()
 
48
  elif image_input is not None:
49
  return process_image(image_input)
50
 
51
+ iface = gr.Interface(fn=main, inputs=["text", gr.Image()], outputs="text")
52
+ iface.launch()