anzorq commited on
Commit
02fd6dd
·
1 Parent(s): a205c7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ embeddings = load_embeddings('embeddings_hf_spaces_descriptions.pt')
44
 
45
  with gr.Blocks() as demo:
46
  input = gr.Textbox(label="Enter your query")
47
- num_results = gr.Slider(10, 100, value=10, label="Number of results")
48
 
49
  df_output = gr.Dataframe(label="Similarity Results", wrap=True)
50
 
 
44
 
45
  with gr.Blocks() as demo:
46
  input = gr.Textbox(label="Enter your query")
47
+ num_results = gr.Slider(10, 100, value=10, step=1, label="Number of results")
48
 
49
  df_output = gr.Dataframe(label="Similarity Results", wrap=True)
50