Update app.py
Browse files
app.py
CHANGED
@@ -306,7 +306,7 @@ def extract(image):
|
|
306 |
return result
|
307 |
|
308 |
iface = gr.Interface(fn=extract,
|
309 |
-
inputs=[gr.inputs.Image(type='
|
310 |
outputs=gr.outputs.Textbox(),)
|
311 |
|
312 |
iface.launch(enable_queue=True)
|
|
|
306 |
return result
|
307 |
|
308 |
iface = gr.Interface(fn=extract,
|
309 |
+
inputs=[gr.inputs.Image(type='filepath', label='Ideal Answer'),gr.inputs.Image(type='filepath', label='Ideal Answer Diagram'),gr.inputs.Image(type='filepath', label='Submitted Answer'),gr.inputs.Image(type='filepath', label='Submitted Answer Diagram')],
|
310 |
outputs=gr.outputs.Textbox(),)
|
311 |
|
312 |
iface.launch(enable_queue=True)
|