sasha HF staff commited on
Commit
3743ac7
·
1 Parent(s): a5d5d5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ all_models = [m.modelId for m in api.list_models(filter=filt, sort = "downloads"
37
  models = st.multiselect(
38
  'Choose the models that have been trained/finetuned on this dataset',
39
  options=all_models)
40
-
 
41
 
42
  st.markdown("### What two metrics do you want to compare?")
43
 
 
37
  models = st.multiselect(
38
  'Choose the models that have been trained/finetuned on this dataset',
39
  options=all_models)
40
+ if len(models) > 5:
41
+ st.exception("Please choose less than 5 models!")
42
 
43
  st.markdown("### What two metrics do you want to compare?")
44