atz21 commited on
Commit
e00cae2
·
verified ·
1 Parent(s): 751e0c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -205,7 +205,6 @@ def generate_test_with_processing(total_marks, topic_name, level):
205
 
206
  # Return the final result
207
  yield result
208
-
209
  # --- Gradio Interface ---
210
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
211
  gr.Markdown("# 📝 IB Mathematics Test Generator (Latest Question Priority)")
@@ -235,6 +234,11 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
235
  {"left": "$$", "right": "$$", "display": True},
236
  {"left": "$", "right": "$", "display": False}
237
  ]
 
 
 
 
 
238
  )
239
 
240
  generate_button.click(
@@ -245,6 +249,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
245
 
246
  if __name__ == "__main__":
247
  demo.launch()
 
248
  # --- Provided Topics List ---
249
 
250
 
 
205
 
206
  # Return the final result
207
  yield result
 
208
  # --- Gradio Interface ---
209
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
210
  gr.Markdown("# 📝 IB Mathematics Test Generator (Latest Question Priority)")
 
234
  {"left": "$$", "right": "$$", "display": True},
235
  {"left": "$", "right": "$", "display": False}
236
  ]
237
+ ).style(
238
+ container=True,
239
+ border=True,
240
+ rounded=True,
241
+ background="white"
242
  )
243
 
244
  generate_button.click(
 
249
 
250
  if __name__ == "__main__":
251
  demo.launch()
252
+
253
  # --- Provided Topics List ---
254
 
255