Tollef Jørgensen commited on
Commit
2de00c6
1 Parent(s): ac60bee
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -77,11 +77,11 @@ with gr.Blocks() as demo:
77
  lines=1,
78
  placeholder="Kollisjon mellom to kjøretøy.",
79
  )
80
- k_slider = gr.Slider(minimum=1, maximum=10, label="Number of matches", value=5, step=1)
81
 
82
- search_btn = gr.Button("Search")
83
 
84
- output = gr.Textbox(label="Results", lines=10)
85
 
86
  # from the selected URL, find the index in the df:
87
  search_btn.click(faiss_search, inputs=[case_dropdown, query, k_slider], outputs=[output])
 
77
  lines=1,
78
  placeholder="Kollisjon mellom to kjøretøy.",
79
  )
80
+ k_slider = gr.Slider(minimum=1, maximum=10, label="Antall treff", value=5, step=1)
81
 
82
+ search_btn = gr.Button("Søk")
83
 
84
+ output = gr.Textbox(label="Resultater", lines=10)
85
 
86
  # from the selected URL, find the index in the df:
87
  search_btn.click(faiss_search, inputs=[case_dropdown, query, k_slider], outputs=[output])