Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,6 +135,7 @@ with st.form("question_form"):
|
|
| 135 |
num_questions = st.slider("Number of Questions:", 1, 10)
|
| 136 |
difficulty = st.selectbox("Difficulty Level:", ["Easy", "Medium", "Hard"], key="difficulty_select")
|
| 137 |
generate = st.form_submit_button("Generate Questions")
|
|
|
|
| 138 |
|
| 139 |
if generate:
|
| 140 |
with st.spinner("Generating questions..."):
|
|
|
|
| 135 |
num_questions = st.slider("Number of Questions:", 1, 10)
|
| 136 |
difficulty = st.selectbox("Difficulty Level:", ["Easy", "Medium", "Hard"], key="difficulty_select")
|
| 137 |
generate = st.form_submit_button("Generate Questions")
|
| 138 |
+
st.warning("Double click on the Submit button to submit your answer.")
|
| 139 |
|
| 140 |
if generate:
|
| 141 |
with st.spinner("Generating questions..."):
|