IlyasMoutawwakil HF staff commited on
Commit
441d71d
1 Parent(s): fb987cd
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -192,14 +192,16 @@ with gr.Blocks() as demo:
192
  with gr.Column(variant="panel"):
193
  model = HuggingfaceHubSearch(
194
  placeholder="Search for a PyTorch model",
 
195
  search_type="model",
196
  label="model",
197
  )
198
 
199
  openvino_model = HuggingfaceHubSearch(
200
  placeholder="Search for an OpenVINO model (optional)",
201
- search_type="model",
202
  label="openvino_model",
 
 
203
  )
204
 
205
  with gr.Row():
 
192
  with gr.Column(variant="panel"):
193
  model = HuggingfaceHubSearch(
194
  placeholder="Search for a PyTorch model",
195
+ sumbit_on_select=True,
196
  search_type="model",
197
  label="model",
198
  )
199
 
200
  openvino_model = HuggingfaceHubSearch(
201
  placeholder="Search for an OpenVINO model (optional)",
 
202
  label="openvino_model",
203
+ sumbit_on_select=True,
204
+ search_type="model",
205
  )
206
 
207
  with gr.Row():