Samay42 commited on
Commit
bc4d55f
·
verified ·
1 Parent(s): dac5a07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ def main():
235
  text = extract_text_from_pdf(uploaded_file)
236
  num_questions = st.number_input("Enter the number of questions", min_value=1, max_value=10, value=3)
237
  quiz_type = st.selectbox("Select the type of Question", ["multiple-choice", "true-false", "open-ended", "fill-in-the-blank", "mixed"])
238
- expertise = st.text_input("Enter the domain of the questions to be generated.")
239
 
240
  if st.button("Generate Questions"):
241
  if quiz_type == "multiple-choice":
 
235
  text = extract_text_from_pdf(uploaded_file)
236
  num_questions = st.number_input("Enter the number of questions", min_value=1, max_value=10, value=3)
237
  quiz_type = st.selectbox("Select the type of Question", ["multiple-choice", "true-false", "open-ended", "fill-in-the-blank", "mixed"])
238
+ expertise = st.text_input("Enter the domain of the expertise to be generated.")
239
 
240
  if st.button("Generate Questions"):
241
  if quiz_type == "multiple-choice":