Update app.py
Browse files
app.py
CHANGED
@@ -459,7 +459,8 @@ def extract_eval(image1,image2,image3,image4):
|
|
459 |
|
460 |
|
461 |
iface = gr.Interface(fn=extract_eval,
|
462 |
-
inputs=[gr.Image(label='Ideal Answer'),gr.Image(label='Ideal Answer Diagram'),gr.Image(label='Submitted Answer'),gr.Image(label='Submitted Answer Diagram')],
|
|
|
463 |
outputs=gr.outputs.Textbox(),)
|
464 |
|
465 |
iface.launch(enable_queue=True)
|
|
|
459 |
|
460 |
|
461 |
iface = gr.Interface(fn=extract_eval,
|
462 |
+
#inputs=[gr.Image(label='Ideal Answer'),gr.Image(label='Ideal Answer Diagram'),gr.Image(label='Submitted Answer'),gr.Image(label='Submitted Answer Diagram')],
|
463 |
+
inputs=gradio.inputs.File(file_count="multiple"),
|
464 |
outputs=gr.outputs.Textbox(),)
|
465 |
|
466 |
iface.launch(enable_queue=True)
|