Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def ask(question, openai_api_key, gemini_api_key, anthropic_api_key, file_name =
|
|
| 68 |
def update_file_link(file_name):
|
| 69 |
if file_name:
|
| 70 |
base_url = f"https://huggingface.co/spaces/{SPACE_ID}/blob/main/files"
|
| 71 |
-
return f"<a href='{base_url}/{file_name}' target=
|
| 72 |
|
| 73 |
return ""
|
| 74 |
|
|
|
|
| 68 |
def update_file_link(file_name):
|
| 69 |
if file_name:
|
| 70 |
base_url = f"https://huggingface.co/spaces/{SPACE_ID}/blob/main/files"
|
| 71 |
+
return f"<a href='{base_url}/{file_name}' target='_blank'>Open File</a>"
|
| 72 |
|
| 73 |
return ""
|
| 74 |
|