909ahmed commited on
Commit
2fc3055
·
verified ·
1 Parent(s): 105b214

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,5 +22,5 @@ def process_image_and_text(image, text):
22
 
23
  return probs
24
 
25
- demo = gr.Interface(fn=process_image_and_text, inputs=['text', 'image'], outputs="text")
26
  demo.launch()
 
22
 
23
  return probs
24
 
25
+ demo = gr.Interface(fn=process_image_and_text, inputs=[gr.inputs.Image(type="pil"), gr.inputs.Textbox()], outputs="text")
26
  demo.launch()