Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1312,7 +1312,7 @@ def directory_exists(repo_id, directory, token):
|
|
1312 |
|
1313 |
def get_download_link(file_path,file_name):
|
1314 |
# Hugging Face Spaces uses this URL format for repository-hosted files
|
1315 |
-
base_url = "https://huggingface.co/spaces
|
1316 |
# Replace <your-space-id> with your actual Space name
|
1317 |
return f"{base_url}/{file_path}/{file_name}"
|
1318 |
|
|
|
1312 |
|
1313 |
def get_download_link(file_path,file_name):
|
1314 |
# Hugging Face Spaces uses this URL format for repository-hosted files
|
1315 |
+
base_url = "https://huggingface.co/spaces/Redmind/NewageNXTGPT_Repo_trial/blob/test-branch"
|
1316 |
# Replace <your-space-id> with your actual Space name
|
1317 |
return f"{base_url}/{file_path}/{file_name}"
|
1318 |
|