echarlaix HF staff commited on
Commit
3548ea3
1 Parent(s): 6fdcf12

remove import

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -5,7 +5,7 @@ from typing import Optional, Union
5
  import gradio as gr
6
  from huggingface_hub import HfApi, Repository
7
  from export import convert
8
- from gradio_huggingfacehub_search import HuggingfaceHubSearch
9
 
10
 
11
  DATASET_REPO_URL = "https://huggingface.co/datasets/optimum/exporters"
@@ -104,9 +104,10 @@ interface = gr.Interface(
104
  max_lines=1,
105
  label="Hugging Face token",
106
  ),
107
- HuggingfaceHubSearch(
 
108
  label="Hub Model ID",
109
- placeholder="Search for model id on Huggingface",
110
  # search_type="model",
111
  ),
112
  ],
 
5
  import gradio as gr
6
  from huggingface_hub import HfApi, Repository
7
  from export import convert
8
+ # from gradio_huggingfacehub_search import HuggingfaceHubSearch
9
 
10
 
11
  DATASET_REPO_URL = "https://huggingface.co/datasets/optimum/exporters"
 
104
  max_lines=1,
105
  label="Hugging Face token",
106
  ),
107
+ # HuggingfaceHubSearch(
108
+ gr.Textbox(
109
  label="Hub Model ID",
110
+ placeholder="distilbert/distilbert-base-cased-distilled-squad",
111
  # search_type="model",
112
  ),
113
  ],