Update app.py
Browse files
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=[
|
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()
|