Spaces:
Running
Running
debugging ftp url
Browse files
utils/cloud_server_audio_loader.py
CHANGED
@@ -13,6 +13,7 @@ class CloudServerAudioLoader:
|
|
13 |
|
14 |
def _download_to_buf(self, filename: str) -> io.BytesIO:
|
15 |
url = self.base_url + filename
|
|
|
16 |
resp = requests.get(url, stream=True)
|
17 |
if resp.status_code != 200:
|
18 |
raise FileNotFoundError(f"'{filename}' not found. HTTP {resp.status_code}")
|
|
|
13 |
|
14 |
def _download_to_buf(self, filename: str) -> io.BytesIO:
|
15 |
url = self.base_url + filename
|
16 |
+
print("url:", url) # Debugging line to check the URL
|
17 |
resp = requests.get(url, stream=True)
|
18 |
if resp.status_code != 200:
|
19 |
raise FileNotFoundError(f"'{filename}' not found. HTTP {resp.status_code}")
|