Spaces:
Running
Running
fixed bugs
#17
by
MINGYISU
- opened
utils.py
CHANGED
@@ -112,12 +112,6 @@ MODEL_URLS = {
|
|
112 |
|
113 |
def create_hyperlinked_names(df):
|
114 |
def add_link_to_model_name(model_name):
|
115 |
-
if "VLM2Vec (Phi-3.5-V-" in model_name:
|
116 |
-
return f"<a href='{MODEL_URLS["VLM2Vec-Phi-3.5-v"]}'>{model_name}</a>"
|
117 |
-
if "VLM2Vec (LLaVA-1.6-LoRA-" in model_name:
|
118 |
-
return f"<a href='{MODEL_URLS["VLM2Vec"]}'>{model_name}</a>"
|
119 |
-
if "UniIR" in model_name:
|
120 |
-
return f"<a href='{MODEL_URLS["UniIR"]}'>{model_name}</a>"
|
121 |
if model_name in MODEL_URLS:
|
122 |
return f"<a href='{MODEL_URLS[model_name]}'>{model_name}</a>"
|
123 |
else:
|
|
|
112 |
|
113 |
def create_hyperlinked_names(df):
|
114 |
def add_link_to_model_name(model_name):
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
if model_name in MODEL_URLS:
|
116 |
return f"<a href='{MODEL_URLS[model_name]}'>{model_name}</a>"
|
117 |
else:
|