Update app.py
Browse files
app.py
CHANGED
@@ -154,6 +154,7 @@ def generate_question(context,answer,question_type):
|
|
154 |
# random.shuffle(mcqs)
|
155 |
return next(iter(result))+"\n"+"-" + mcqs[0]+"\n"+"-" + mcqs[1]+"\n"+"-" + mcqs[2]+"\n" +"-" + answer +"\n"
|
156 |
|
|
|
157 |
iface = gr.Interface(
|
158 |
fn=generate_question,
|
159 |
inputs=[context,answer,question_type],
|
|
|
154 |
# random.shuffle(mcqs)
|
155 |
return next(iter(result))+"\n"+"-" + mcqs[0]+"\n"+"-" + mcqs[1]+"\n"+"-" + mcqs[2]+"\n" +"-" + answer +"\n"
|
156 |
|
157 |
+
|
158 |
iface = gr.Interface(
|
159 |
fn=generate_question,
|
160 |
inputs=[context,answer,question_type],
|