Update clickable link for api
Browse files- utils_display.py +6 -0
utils_display.py
CHANGED
|
@@ -37,6 +37,12 @@ def make_clickable_model(model_name):
|
|
| 37 |
link = "https://github.com/argmaxinc/WhisperKit"
|
| 38 |
elif model_name_list[0] == "WhisperMLX":
|
| 39 |
link = "https://huggingface.co/collections/mlx-community/whisper-663256f9964fbb1177db93dc"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
else:
|
| 41 |
link = f"https://huggingface.co/{model_name}"
|
| 42 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|
|
|
|
| 37 |
link = "https://github.com/argmaxinc/WhisperKit"
|
| 38 |
elif model_name_list[0] == "WhisperMLX":
|
| 39 |
link = "https://huggingface.co/collections/mlx-community/whisper-663256f9964fbb1177db93dc"
|
| 40 |
+
elif model_name_list[0] == "elevenlabs":
|
| 41 |
+
link = "https://elevenlabs.io/speech-to-text"
|
| 42 |
+
elif model_name_list[0] == "openai":
|
| 43 |
+
link = "https://platform.openai.com/docs/guides/speech-to-text"
|
| 44 |
+
elif model_name_list[0] == "assemblyai":
|
| 45 |
+
link = "https://www.assemblyai.com/docs"
|
| 46 |
else:
|
| 47 |
link = f"https://huggingface.co/{model_name}"
|
| 48 |
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
|