radames commited on
Commit
c192f05
1 Parent(s): 421ebf9

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +3 -3
  2. __pycache__/app.cpython-310.pyc +0 -0
  3. app.py +2 -1
  4. space.py +3 -2
README.md CHANGED
@@ -1,9 +1,9 @@
1
 
2
  ---
3
  tags: [gradio-custom-component]
4
- title: gradio_huggingfacehub_search V0.0.1
5
- colorFrom: red
6
- colorTo: gray
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
 
1
 
2
  ---
3
  tags: [gradio-custom-component]
4
+ title: gradio_huggingfacehub_search V0.0.2
5
+ colorFrom: purple
6
+ colorTo: purple
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -15,7 +15,8 @@ with gr.Blocks() as demo:
15
  with gr.Column():
16
  search_in = HuggingfaceHubSearch(
17
  label="Search Huggingface Hub",
18
- search_type=["model", "dataset"],
 
19
  )
20
  btn = gr.Button("Run")
21
  with gr.Column():
 
15
  with gr.Column():
16
  search_in = HuggingfaceHubSearch(
17
  label="Search Huggingface Hub",
18
+ placeholder="Search for models on Huggingface Hub",
19
+ search_type="model",
20
  )
21
  btn = gr.Button("Run")
22
  with gr.Column():
space.py CHANGED
@@ -21,7 +21,7 @@ with gr.Blocks(
21
  # `gradio_huggingfacehub_search`
22
 
23
  <div style="display: flex; gap: 7px;">
24
- <img alt="Static Badge" src="https://img.shields.io/badge/version%20-%200.0.1%20-%20orange">
25
  </div>
26
 
27
  Gradio component for searching Hugging Face Hub models, datasets, Spaces, and more
@@ -55,7 +55,8 @@ with gr.Blocks() as demo:
55
  with gr.Column():
56
  search_in = HuggingfaceHubSearch(
57
  label="Search Huggingface Hub",
58
- search_type=["model", "dataset"],
 
59
  )
60
  btn = gr.Button("Run")
61
  with gr.Column():
 
21
  # `gradio_huggingfacehub_search`
22
 
23
  <div style="display: flex; gap: 7px;">
24
+ <a href="https://pypi.org/project/gradio_huggingfacehub_search/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_huggingfacehub_search"></a>
25
  </div>
26
 
27
  Gradio component for searching Hugging Face Hub models, datasets, Spaces, and more
 
55
  with gr.Column():
56
  search_in = HuggingfaceHubSearch(
57
  label="Search Huggingface Hub",
58
+ placeholder="Search for models on Huggingface Hub",
59
+ search_type="model",
60
  )
61
  btn = gr.Button("Run")
62
  with gr.Column():