Reham721 commited on
Commit
0904a51
1 Parent(s): d36accc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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],