Spaces:
Build error
Build error
Update src/display/formatting.py
Browse files
src/display/formatting.py
CHANGED
|
@@ -2,9 +2,9 @@ def model_hyperlink(link, model_name):
|
|
| 2 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|
| 3 |
|
| 4 |
|
| 5 |
-
def make_clickable_model(model_name):
|
| 6 |
link = f"https://huggingface.co/{model_name}"
|
| 7 |
-
return model_hyperlink(link,
|
| 8 |
|
| 9 |
|
| 10 |
def styled_error(error):
|
|
|
|
| 2 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|
| 3 |
|
| 4 |
|
| 5 |
+
def make_clickable_model(model_show , model_name):
|
| 6 |
link = f"https://huggingface.co/{model_name}"
|
| 7 |
+
return model_hyperlink(link, model_show)
|
| 8 |
|
| 9 |
|
| 10 |
def styled_error(error):
|