rashid01 commited on
Commit
bdb6345
·
verified ·
1 Parent(s): 48a3307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -211,13 +211,6 @@ st.markdown(
211
  background-color: #45a049;
212
  }
213
  .output-container {
214
- border: 2px solid #2196F3;
215
- border-radius: 8px;
216
- padding: 15px;
217
- margin: 15px 0;
218
- background-color: #f1f1f1;
219
- }
220
- .progress-container {
221
  border: 2px solid #2196F3;
222
  border-radius: 8px;
223
  padding: 15px;
@@ -305,13 +298,11 @@ if nav_option == "Generate Questions":
305
  if index > 0:
306
  if st.button("Previous"):
307
  st.session_state.question_index -= 1
308
- st.experimental_rerun() # Re-run to update display
309
 
310
  with col2:
311
  if index < len(question_list) - 1:
312
  if st.button("Next"):
313
  st.session_state.question_index += 1
314
- st.experimental_rerun() # Re-run to update display
315
 
316
  # Submit answer and provide feedback
317
  if st.button("Submit Answer"):
@@ -341,3 +332,4 @@ st.markdown("""
341
  </div>
342
  """, unsafe_allow_html=True)
343
 
 
 
211
  background-color: #45a049;
212
  }
213
  .output-container {
 
 
 
 
 
 
 
214
  border: 2px solid #2196F3;
215
  border-radius: 8px;
216
  padding: 15px;
 
298
  if index > 0:
299
  if st.button("Previous"):
300
  st.session_state.question_index -= 1
 
301
 
302
  with col2:
303
  if index < len(question_list) - 1:
304
  if st.button("Next"):
305
  st.session_state.question_index += 1
 
306
 
307
  # Submit answer and provide feedback
308
  if st.button("Submit Answer"):
 
332
  </div>
333
  """, unsafe_allow_html=True)
334
 
335
+