added url
Browse files
App/TTS/utils/Descript.py
CHANGED
@@ -181,7 +181,7 @@ class DescriptTTS:
|
|
181 |
random_filename = str(uuid.uuid4()) + ".mp3"
|
182 |
file_path = os.path.join(temp_dir, random_filename)
|
183 |
|
184 |
-
self.download_with_wget(download_dir=temp_dir, filename=random_filename)
|
185 |
else:
|
186 |
async with aiohttp.ClientSession() as session:
|
187 |
async with session.get(access_url) as response:
|
|
|
181 |
random_filename = str(uuid.uuid4()) + ".mp3"
|
182 |
file_path = os.path.join(temp_dir, random_filename)
|
183 |
|
184 |
+
self.download_with_wget(link=access_url,download_dir=temp_dir, filename=random_filename)
|
185 |
else:
|
186 |
async with aiohttp.ClientSession() as session:
|
187 |
async with session.get(access_url) as response:
|