mohammed3536 commited on
Commit
51b662a
1 Parent(s): eee0b5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -89,6 +89,8 @@ def main():
89
  st.success(f"Generated {num_mcqs} Questions:")
90
  for i, generated_question in enumerate(mcqs, start=1):
91
  st.write(f"\nQuestion {i}: {generated_question}")
 
 
92
  else:
93
  st.error("Please upload a PDF document.")
94
 
 
89
  st.success(f"Generated {num_mcqs} Questions:")
90
  for i, generated_question in enumerate(mcqs, start=1):
91
  st.write(f"\nQuestion {i}: {generated_question}")
92
+ st.write(f"Options: {', '.join(generated_question['options'])}")
93
+ st.write(f"Correct Answer: {generated_question['correct_answer']}")
94
  else:
95
  st.error("Please upload a PDF document.")
96