Update app.py
Browse files
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
|
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":
|