Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,6 @@ else:
|
|
58 |
# Input field for knowledge material (text)
|
59 |
knowledge_material = st.text_area("Enter knowledge material to generate exam questions:")
|
60 |
|
61 |
-
# Extra input field for additional instructions
|
62 |
-
extra_instructions = st.text_area("Enter additional instructions (e.g., how you want the questions to be phrased):")
|
63 |
-
|
64 |
# File uploader for PDFs (Optional: Only if you want to implement PDF input later)
|
65 |
uploaded_file = st.file_uploader("Upload a file (PDF)", type="pdf")
|
66 |
|
@@ -72,6 +69,9 @@ else:
|
|
72 |
cognitive_level = st.selectbox("Select cognitive level:",
|
73 |
["Recall", "Understanding", "Application", "Analysis", "Synthesis", "Evaluation"])
|
74 |
|
|
|
|
|
|
|
75 |
# Generate questions button
|
76 |
if 'previous_questions' not in st.session_state:
|
77 |
st.session_state['previous_questions'] = []
|
|
|
58 |
# Input field for knowledge material (text)
|
59 |
knowledge_material = st.text_area("Enter knowledge material to generate exam questions:")
|
60 |
|
|
|
|
|
|
|
61 |
# File uploader for PDFs (Optional: Only if you want to implement PDF input later)
|
62 |
uploaded_file = st.file_uploader("Upload a file (PDF)", type="pdf")
|
63 |
|
|
|
69 |
cognitive_level = st.selectbox("Select cognitive level:",
|
70 |
["Recall", "Understanding", "Application", "Analysis", "Synthesis", "Evaluation"])
|
71 |
|
72 |
+
# Extra input field for additional instructions (now placed below cognitive level)
|
73 |
+
extra_instructions = st.text_area("Enter additional instructions (e.g., how you want the questions to be phrased):")
|
74 |
+
|
75 |
# Generate questions button
|
76 |
if 'previous_questions' not in st.session_state:
|
77 |
st.session_state['previous_questions'] = []
|