Update utils.py
Browse files
utils.py
CHANGED
|
@@ -876,7 +876,7 @@ def download_link(doc):
|
|
| 876 |
file_url = f"https://huggingface.co/spaces/alexkueck/{STORAGE_REPO_ID}/resolve/main/chroma/kkg/{doc['pfad']}?token=hf_token"
|
| 877 |
return f'<b><a href="{file_url}" target="_blank" style="color: #BB70FC; font-weight: bold;">{doc["titel"]}</a></b>'
|
| 878 |
else:
|
| 879 |
-
file_url = f"https://huggingface.co/spaces/alexkueck/
|
| 880 |
return f'<b><a href="{file_url}" target="_blank" style="color: #BB70FC; font-weight: bold;">{doc}</a></b>'
|
| 881 |
"""
|
| 882 |
|
|
|
|
| 876 |
file_url = f"https://huggingface.co/spaces/alexkueck/{STORAGE_REPO_ID}/resolve/main/chroma/kkg/{doc['pfad']}?token=hf_token"
|
| 877 |
return f'<b><a href="{file_url}" target="_blank" style="color: #BB70FC; font-weight: bold;">{doc["titel"]}</a></b>'
|
| 878 |
else:
|
| 879 |
+
file_url = f"https://huggingface.co/spaces/alexkueck/{STORAGE_REPO_ID}/resolve/main/{doc}?token=hf_token"
|
| 880 |
return f'<b><a href="{file_url}" target="_blank" style="color: #BB70FC; font-weight: bold;">{doc}</a></b>'
|
| 881 |
"""
|
| 882 |
|