Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def batch_download_via_api(download_urls, download_dir=DOWNLOAD_DIR):
|
|
| 39 |
Also copy to dataset dir and upload to HuggingFace if configured.
|
| 40 |
No zipping, just raw mp4s.
|
| 41 |
"""
|
| 42 |
-
api_url = "https://fred808-data1.hf.space/
|
| 43 |
for url in download_urls:
|
| 44 |
try:
|
| 45 |
resp = requests.post(api_url, json={"urls": [url]}, stream=True)
|
|
|
|
| 39 |
Also copy to dataset dir and upload to HuggingFace if configured.
|
| 40 |
No zipping, just raw mp4s.
|
| 41 |
"""
|
| 42 |
+
api_url = "https://fred808-data1.hf.space/batch/download"
|
| 43 |
for url in download_urls:
|
| 44 |
try:
|
| 45 |
resp = requests.post(api_url, json={"urls": [url]}, stream=True)
|