bump huggingface_hub
Browse files- README.md +1 -1
- app.py +3 -2
- requirements.txt +2 -2
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
|
|
4 |
colorFrom: gray
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.26.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -46,8 +46,9 @@ interface = gr.Interface(
|
|
46 |
fn=duplicate,
|
47 |
inputs=[
|
48 |
HuggingfaceHubSearch(
|
49 |
-
|
50 |
-
|
|
|
51 |
),
|
52 |
gr.Textbox(placeholder="Destination repository (e.g. osanseviero/dst)"),
|
53 |
gr.Textbox(placeholder="Write access token", type="password"),
|
|
|
46 |
fn=duplicate,
|
47 |
inputs=[
|
48 |
HuggingfaceHubSearch(
|
49 |
+
placeholder="Source repository (e.g. osanseviero/src)",
|
50 |
+
search_type=["model", "dataset", "space"],
|
51 |
+
sumbit_on_select=False,
|
52 |
),
|
53 |
gr.Textbox(placeholder="Destination repository (e.g. osanseviero/dst)"),
|
54 |
gr.Textbox(placeholder="Write access token", type="password"),
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
huggingface_hub==0.
|
2 |
-
gradio_huggingfacehub_search==0.0.5
|
|
|
1 |
+
huggingface_hub==0.22.2
|
2 |
+
gradio_huggingfacehub_search==0.0.5
|