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