Spaces:
Running
Running
sashavor
commited on
Commit
·
b611be2
1
Parent(s):
95d1880
oops
Browse files
app.py
CHANGED
|
@@ -35,11 +35,11 @@ with st.sidebar.expander("Models", expanded=True):
|
|
| 35 |
models=[]
|
| 36 |
# choose a dataset to analyze
|
| 37 |
for m in carbon_df['name'].items():
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
model_name = st.selectbox(
|
| 44 |
f"Choose model to explore:",
|
| 45 |
models)
|
|
|
|
| 35 |
models=[]
|
| 36 |
# choose a dataset to analyze
|
| 37 |
for m in carbon_df['name'].items():
|
| 38 |
+
try:
|
| 39 |
+
modelname= m.split('/')[1].replace('autonlp-','')
|
| 40 |
+
except:
|
| 41 |
+
modelname = m
|
| 42 |
+
models.append(modelname)
|
| 43 |
model_name = st.selectbox(
|
| 44 |
f"Choose model to explore:",
|
| 45 |
models)
|