davanstrien HF staff commited on
Commit
7a4ebff
·
1 Parent(s): 42a3f3a

add placeholder

Browse files
Files changed (1) hide show
  1. ragatouille_search.py +4 -3
ragatouille_search.py CHANGED
@@ -82,9 +82,10 @@ def create_ragatouille_interface():
82
  """
83
  )
84
 
85
- query = gr.Textbox(label="Query", placeholder="medieval handwriting")
86
- k = gr.Slider(1, 100, value=DEFAULT_K, step=1, label="Number of Results")
87
- make_unique = gr.Checkbox(False, label="Unique Results")
 
88
  search_button = gr.Button("Search")
89
  search_button.click(
90
  search_with_ragatouille,
 
82
  """
83
  )
84
 
85
+ query = gr.Textbox(label="Search query", placeholder="medieval handwriting")
86
+ with gr.Column():
87
+ k = gr.Slider(1, 100, value=DEFAULT_K, step=1, label="Number of Results")
88
+ make_unique = gr.Checkbox(False, label="Show each dataset only once?")
89
  search_button = gr.Button("Search")
90
  search_button.click(
91
  search_with_ragatouille,