Spaces:
Runtime error
Runtime error
Fix name of function
Browse files
app.py
CHANGED
|
@@ -21,4 +21,4 @@ def answer_question(image, text):
|
|
| 21 |
image = gr.inputs.Image(type="pil")
|
| 22 |
question = gr.inputs.Textbox(label="Question")
|
| 23 |
answer = gr.outputs.Textbox(label="Predicted answer")
|
| 24 |
-
gr.Interface(fn=
|
|
|
|
| 21 |
image = gr.inputs.Image(type="pil")
|
| 22 |
question = gr.inputs.Textbox(label="Question")
|
| 23 |
answer = gr.outputs.Textbox(label="Predicted answer")
|
| 24 |
+
gr.Interface(fn=answer_question, inputs=[image, question], outputs=answer, enable_queue=True).launch(debug=True)
|