Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
aed3125
1
Parent(s):
109623e
improve
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ libraries = {
|
|
25 |
"open-source-metrics/huggingface_hub-dependents",
|
26 |
}
|
27 |
|
28 |
-
MAP = {k.split("/")[-1].split("-")[
|
29 |
|
30 |
selected_libraries = st.multiselect(
|
31 |
'Choose libraries',
|
|
|
25 |
"open-source-metrics/huggingface_hub-dependents",
|
26 |
}
|
27 |
|
28 |
+
MAP = {"-".join(k.split("/")[-1].split("-")[:-1]): k for k in libraries}
|
29 |
|
30 |
selected_libraries = st.multiselect(
|
31 |
'Choose libraries',
|