Spaces:
Running
Running
patrickvonplaten
commited on
Commit
β’
dfe3a41
1
Parent(s):
4d53ef2
Update app.py
Browse files
app.py
CHANGED
@@ -35,9 +35,10 @@ def get_metadata(model_id):
|
|
35 |
try:
|
36 |
readme_path = hf_hub_download(model_id, filename="README.md")
|
37 |
return metadata_load(readme_path)
|
38 |
-
except
|
39 |
# 404 README.md not found
|
40 |
return None
|
|
|
41 |
|
42 |
|
43 |
def parse_metric_value(value):
|
|
|
35 |
try:
|
36 |
readme_path = hf_hub_download(model_id, filename="README.md")
|
37 |
return metadata_load(readme_path)
|
38 |
+
except:
|
39 |
# 404 README.md not found
|
40 |
return None
|
41 |
+
|
42 |
|
43 |
|
44 |
def parse_metric_value(value):
|