sasha HF staff commited on
Commit
7302cb8
1 Parent(s): c1a6fa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from dataclasses import dataclass
5
  from datasets import load_dataset, Dataset
6
  import pandas as pd
7
  import gradio as gr
8
- from huggingface_hub import HfApi, snapshot_download
9
  from huggingface_hub.hf_api import ModelInfo
10
  from enum import Enum
11
 
@@ -108,7 +108,7 @@ with gr.Blocks() as demo:
108
  interactive=True,
109
  )
110
  with gr.Column():
111
- model_name_textbox = gr.Textbox(label="Model name")
112
 
113
  with gr.Row():
114
  with gr.Column():
 
5
  from datasets import load_dataset, Dataset
6
  import pandas as pd
7
  import gradio as gr
8
+ from huggingface_hub import HfApi, snapshot_download, ModelFilter, list_models
9
  from huggingface_hub.hf_api import ModelInfo
10
  from enum import Enum
11
 
 
108
  interactive=True,
109
  )
110
  with gr.Column():
111
+ model_name_textbox = gr.Textbox(label="Model name (user_name/model_name)")
112
 
113
  with gr.Row():
114
  with gr.Column():