Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,8 @@ 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 |
-
|
|
|
23 |
|
24 |
model = st.multiselect(
|
25 |
'Choose the models that have been trained/finetuned on this dataset',
|
|
|
19 |
|
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',
|