shubhamagarwal92 commited on
Commit
4c3c22b
1 Parent(s): e99f912

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -490,7 +490,7 @@ class GradioChatApp:
490
  llm_rerank = gr.Radio(choices=["True", "False"], value="True", interactive=True, label="LLM Re-rank (May override sorting)", scale=2)
491
  with gr.Row():
492
  num_papers = gr.Slider(minimum=1, maximum=10, value=4, step=1, interactive=True, label="Cite # papers",scale=1)
493
- sort_by = gr.Dropdown(["Relevance", "Citations", "Year"], value="Relevance", interactive=True, label="Sort by", scale=2) # scale=1, min_width=0
494
  with gr.Row():
495
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, interactive=True, label="Temperature", scale=1)
496
  max_tokens = gr.Slider(minimum=0, maximum=3000, value=500, step=64, interactive=True, label="Max output tokens", scale=2)
 
490
  llm_rerank = gr.Radio(choices=["True", "False"], value="True", interactive=True, label="LLM Re-rank (May override sorting)", scale=2)
491
  with gr.Row():
492
  num_papers = gr.Slider(minimum=1, maximum=10, value=4, step=1, interactive=True, label="Cite # papers",scale=1)
493
+ sort_by = gr.Dropdown(["Relevance", "Citations", "Year"], value="Citations", interactive=True, label="Sort by", scale=2) # scale=1, min_width=0
494
  with gr.Row():
495
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, interactive=True, label="Temperature", scale=1)
496
  max_tokens = gr.Slider(minimum=0, maximum=3000, value=500, step=64, interactive=True, label="Max output tokens", scale=2)