Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def download_resource(resource_id: str, filename: str = None) -> str:
|
|
| 113 |
f.write(chunk)
|
| 114 |
|
| 115 |
upload_to_dataset(local_path, f"data/{os.path.basename(local_path)}")
|
| 116 |
-
return f"https://huggingface.co/datasets/arturomontieri/testdata/
|
| 117 |
#return local_path
|
| 118 |
|
| 119 |
|
|
|
|
| 113 |
f.write(chunk)
|
| 114 |
|
| 115 |
upload_to_dataset(local_path, f"data/{os.path.basename(local_path)}")
|
| 116 |
+
return f"https://huggingface.co/datasets/arturomontieri/testdata/resolve/main/data/{os.path.basename(local_path)}"
|
| 117 |
#return local_path
|
| 118 |
|
| 119 |
|