Spaces:
Running
Running
remove import
Browse files
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="
|
| 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 |
],
|