Spaces:
Running
Running
fix bugs
Browse files
utils.py
CHANGED
|
@@ -116,7 +116,7 @@ We highly recommend joining our [discord server](https://discord.gg/njyKubdtry),
|
|
| 116 |
|
| 117 |
def create_hyperlinked_names(df):
|
| 118 |
def convert_url(url, model_name):
|
| 119 |
-
return f'<a href="{url}">{model_name}</a>' if
|
| 120 |
|
| 121 |
def add_link_to_model_name(row):
|
| 122 |
row['Models'] = convert_url(row['URL'], row['Models'])
|
|
|
|
| 116 |
|
| 117 |
def create_hyperlinked_names(df):
|
| 118 |
def convert_url(url, model_name):
|
| 119 |
+
return f'<a href="{url}">{model_name}</a>' if url else model_name
|
| 120 |
|
| 121 |
def add_link_to_model_name(row):
|
| 122 |
row['Models'] = convert_url(row['URL'], row['Models'])
|