sasha HF Staff commited on
Commit
e02da08
·
1 Parent(s): 1e758e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,14 +15,14 @@ st.markdown("## Choose the dataset you want to use for the comparison:")
15
  api = HfApi()
16
  datasets = api.list_datasets(filter="task_categories:text-classification", sort = "downloads", direction=-1, limit = 20)
17
 
18
- dset = st.selectbox(options=datasets)
19
 
20
  st.markdown("## Now select up to 5 models to compare their performance:")
21
 
22
  models = api.list_models(filter="trained_dataset:imdb", sort = "downloads", direction=-1, limit = 20)
23
 
24
  model = st.multiselect(
25
- 'Choose your models',
26
  options=models)
27
 
28
  """
 
15
  api = HfApi()
16
  datasets = api.list_datasets(filter="task_categories:text-classification", sort = "downloads", direction=-1, limit = 20)
17
 
18
+ dset = st.selectbox('Choose a dataset from the Hub', options=datasets)
19
 
20
  st.markdown("## Now select up to 5 models to compare their performance:")
21
 
22
  models = api.list_models(filter="trained_dataset:imdb", sort = "downloads", direction=-1, limit = 20)
23
 
24
  model = st.multiselect(
25
+ 'Choose the models that have been trained/finetuned on this dataset',
26
  options=models)
27
 
28
  """