Rehman1603
commited on
Commit
•
18bad08
1
Parent(s):
54e3123
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)
|