Spaces:
Running
Running
link to HF Space click fix
Browse files
app.py
CHANGED
@@ -694,7 +694,7 @@ def make_link_to_space(model_name):
|
|
694 |
model_basename = HF_SPACES[model_name]['name']
|
695 |
|
696 |
if '/' in model_name:
|
697 |
-
return '🤗 <a
|
698 |
|
699 |
# otherwise just return the model name
|
700 |
return model_name
|
|
|
694 |
model_basename = HF_SPACES[model_name]['name']
|
695 |
|
696 |
if '/' in model_name:
|
697 |
+
return '🤗 <a style="'+ style +'" title="'+ title +'" href="'+ 'https://huggingface.co/spaces/'+ model_name +'">'+ model_basename +'</a>'
|
698 |
|
699 |
# otherwise just return the model name
|
700 |
return model_name
|