Bellok commited on
Commit
3919620
·
1 Parent(s): 2d1bbbf

fix(ui): remove mismatched labels from radio query options

Browse files

- Removed custom labels from gr.Radio component in "Query" tab
- Labels outnumbered inputs, causing potential UI inconsistencies
- Now relies on default input-based labeling for cleaner interface

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -519,8 +519,7 @@ with gr.Blocks(title="Warbler CDA - FractalStat RAG") as demo:
519
  ["dancing under the moon", 5, False], # Semantic for casual queries
520
  ["interplanetary approach maneuvers", 5, True], # Hybrid for scientific terms
521
  ],
522
- inputs=[query_input, max_results, use_hybrid],
523
- labels=["Plain English", "Scientific/Technical", "Casual Search", "Technical Query"]
524
  )
525
 
526
  with gr.Tab("System Stats"):
 
519
  ["dancing under the moon", 5, False], # Semantic for casual queries
520
  ["interplanetary approach maneuvers", 5, True], # Hybrid for scientific terms
521
  ],
522
+ inputs=[query_input, max_results, use_hybrid]
 
523
  )
524
 
525
  with gr.Tab("System Stats"):