Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,6 +44,6 @@ def MCQGenerator(image):
|
|
| 44 |
else:
|
| 45 |
return "Null","Null","Null"
|
| 46 |
|
| 47 |
-
iface=gr.Interface(fn=MCQGenerator,inputs=
|
| 48 |
examples=[['demo.PNG']])
|
| 49 |
iface.launch(debug=True)
|
|
|
|
| 44 |
else:
|
| 45 |
return "Null","Null","Null"
|
| 46 |
|
| 47 |
+
iface=gr.Interface(fn=MCQGenerator,inputs='image',outputs=[gr.components.Textbox(label="Question"),gr.components.Textbox(label="Answer"),gr.components.Textbox(label="Options")],
|
| 48 |
examples=[['demo.PNG']])
|
| 49 |
iface.launch(debug=True)
|