Weedoo commited on
Commit
53a06f7
1 Parent(s): faa8315

add defult value for slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks() as demo:
65
  radio_arxiv_comment_query = gr.Radio(['CVPR', 'ACL', 'TACL', 'JAIR', 'IJRR', 'None'], label="ArXiv Comment Query")
66
  radio_arxiv_comment_query.change(fn = comment_radio, inputs= radio_arxiv_comment_query, outputs= arxiv_comment_query)
67
 
68
- threshold = gr.Slider(minimum= 0.70, maximum= 0.99, label="Similarity Score Threshold")
69
 
70
  init_output = gr.Textbox(label="Project Initialization Result")
71
 
 
65
  radio_arxiv_comment_query = gr.Radio(['CVPR', 'ACL', 'TACL', 'JAIR', 'IJRR', 'None'], label="ArXiv Comment Query")
66
  radio_arxiv_comment_query.change(fn = comment_radio, inputs= radio_arxiv_comment_query, outputs= arxiv_comment_query)
67
 
68
+ threshold = gr.Slider(minimum= 0.70, maximum= 0.99, value = 0.80, label="Similarity Score Threshold")
69
 
70
  init_output = gr.Textbox(label="Project Initialization Result")
71