Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
|
@@ -100,15 +100,15 @@ After the model conversion, we will open a PR against the source repo.
|
|
| 100 |
interface = gr.Interface(
|
| 101 |
fn=export,
|
| 102 |
inputs=[
|
| 103 |
-
HuggingfaceHubSearch(
|
| 104 |
-
label="Hub Model ID",
|
| 105 |
-
placeholder="Search for model id on Huggingface",
|
| 106 |
-
search_type="model",
|
| 107 |
-
),
|
| 108 |
gr.Textbox(
|
| 109 |
max_lines=1,
|
| 110 |
label="Hugging Face token",
|
| 111 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
],
|
| 113 |
outputs=[
|
| 114 |
gr.Markdown(label="output"),
|
|
@@ -119,8 +119,8 @@ interface = gr.Interface(
|
|
| 119 |
description=DESCRIPTION,
|
| 120 |
)
|
| 121 |
with gr.Blocks() as demo:
|
| 122 |
-
gr.HTML(TTILE_IMAGE)
|
| 123 |
-
gr.HTML(TITLE)
|
| 124 |
interface.render()
|
| 125 |
|
| 126 |
demo.launch()
|
|
|
|
| 100 |
interface = gr.Interface(
|
| 101 |
fn=export,
|
| 102 |
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
gr.Textbox(
|
| 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 |
],
|
| 113 |
outputs=[
|
| 114 |
gr.Markdown(label="output"),
|
|
|
|
| 119 |
description=DESCRIPTION,
|
| 120 |
)
|
| 121 |
with gr.Blocks() as demo:
|
| 122 |
+
# gr.HTML(TTILE_IMAGE)
|
| 123 |
+
# gr.HTML(TITLE)
|
| 124 |
interface.render()
|
| 125 |
|
| 126 |
demo.launch()
|