Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def submit_eval(model_name, model_tags, web_url, hf_url, code_url, paper_url, in
|
|
52 |
return "Please upload a .tar.gz file"
|
53 |
Path(file_path).rename(f"{EVAL_REQUESTS_PATH}/{model_id}.tar.gz")
|
54 |
# build display name - use web_url to link text if available, and emojis for the other urls
|
55 |
-
display_name = model_name
|
56 |
if web_url:
|
57 |
display_name = f"[{display_name}]({web_url}) "
|
58 |
if hf_url:
|
|
|
52 |
return "Please upload a .tar.gz file"
|
53 |
Path(file_path).rename(f"{EVAL_REQUESTS_PATH}/{model_id}.tar.gz")
|
54 |
# build display name - use web_url to link text if available, and emojis for the other urls
|
55 |
+
display_name = model_name + " "
|
56 |
if web_url:
|
57 |
display_name = f"[{display_name}]({web_url}) "
|
58 |
if hf_url:
|