sasha HF Staff commited on
Commit
646dc33
·
1 Parent(s): 2cca9df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ dset = st.selectbox('Choose a dataset from the Hub', options=datasets)
20
  st.markdown("## Now select up to 5 models to compare their performance:")
21
 
22
  filt = ModelFilter(trained_dataset=dset)
23
- models = api.list_models(filter=filt, sort = "downloads", direction=-1, limit = 20)
24
 
25
  model = st.multiselect(
26
  'Choose the models that have been trained/finetuned on this dataset',
 
20
  st.markdown("## Now select up to 5 models to compare their performance:")
21
 
22
  filt = ModelFilter(trained_dataset=dset)
23
+ models = [m.modelId for m in api.list_models(filter=filt, sort = "downloads", direction=-1, limit = 20)]
24
 
25
  model = st.multiselect(
26
  'Choose the models that have been trained/finetuned on this dataset',