Commit
·
2d75bf9
1
Parent(s):
be6d0e1
Update utils.py
Browse files
utils.py
CHANGED
@@ -5,4 +5,10 @@ def make_clickable_model(model_name):
|
|
5 |
model_name_show = ' '.join(model_name.split('/')[1:])
|
6 |
|
7 |
link = "https://huggingface.co/" + model_name
|
8 |
-
return f'<a target="_blank" href="{link}">{model_name_show}</a>'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
model_name_show = ' '.join(model_name.split('/')[1:])
|
6 |
|
7 |
link = "https://huggingface.co/" + model_name
|
8 |
+
return f'<a target="_blank" href="{link}">{model_name_show}</a>'
|
9 |
+
|
10 |
+
def pass_emoji(pass):
|
11 |
+
if pass == True:
|
12 |
+
pass = ✅
|
13 |
+
else:
|
14 |
+
pass = ❌
|