joshuarauh commited on
Commit
14b4dc6
·
verified ·
1 Parent(s): 5221a3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1279,7 +1279,7 @@ with gr.Blocks() as interface:
1279
  with gr.Row():
1280
  with gr.Column():
1281
  subject_dropdown = gr.Dropdown(
1282
- choices=list(SUBJECT_SUBTOPICS.keys()), # Use dictionary keys
1283
  label="Select Mathematics Subject",
1284
  info="Choose a subject for the question"
1285
  )
@@ -1314,7 +1314,7 @@ with gr.Blocks() as interface:
1314
  value="computation"
1315
  )
1316
 
1317
- # Add the new enhancement checkbox
1318
  use_enhancement = gr.Radio(
1319
  choices=["yes", "no"],
1320
  label="Enhance with Textbook Material if Real Analysis",
 
1279
  with gr.Row():
1280
  with gr.Column():
1281
  subject_dropdown = gr.Dropdown(
1282
+ choices=[""]+list(SUBJECT_SUBTOPICS.keys()), # Use dictionary keys
1283
  label="Select Mathematics Subject",
1284
  info="Choose a subject for the question"
1285
  )
 
1314
  value="computation"
1315
  )
1316
 
1317
+ # enhancement checkbox
1318
  use_enhancement = gr.Radio(
1319
  choices=["yes", "no"],
1320
  label="Enhance with Textbook Material if Real Analysis",