esilver commited on
Commit
8007258
·
1 Parent(s): 7b33b6d

minor changes

Browse files
Files changed (1) hide show
  1. ui.py +2 -2
ui.py CHANGED
@@ -93,7 +93,7 @@ def create_demo():
93
  tab_confidence = gr.Slider(0.1, 0.9, 0.5, label="Matching Threshold")
94
 
95
  tab_match_type = gr.Radio(
96
- choices=["ingredients", "categories"],
97
  value=default_match,
98
  label="Match Type",
99
  info="Choose whether to match against ingredients or categories"
@@ -123,7 +123,7 @@ def create_demo():
123
 
124
  # Create the reranking tabs using the shared function
125
  create_reranking_tab("Voyage AI Reranking", categorize_products_with_voyage_reranking, "categories")
126
- create_reranking_tab("OpenAI Reranking", categorize_products_with_openai_reranking, "ingredients")
127
 
128
  # New Comparison Tab
129
  with gr.TabItem("Compare Methods"):
 
93
  tab_confidence = gr.Slider(0.1, 0.9, 0.5, label="Matching Threshold")
94
 
95
  tab_match_type = gr.Radio(
96
+ choices=["categories", "ingredients"],
97
  value=default_match,
98
  label="Match Type",
99
  info="Choose whether to match against ingredients or categories"
 
123
 
124
  # Create the reranking tabs using the shared function
125
  create_reranking_tab("Voyage AI Reranking", categorize_products_with_voyage_reranking, "categories")
126
+ create_reranking_tab("OpenAI Reranking", categorize_products_with_openai_reranking, "categories")
127
 
128
  # New Comparison Tab
129
  with gr.TabItem("Compare Methods"):