Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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',
|