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