Mbonea commited on
Commit
f41c7f6
1 Parent(s): 8c8e746
Files changed (1) hide show
  1. App/TTS/utils/Descript.py +1 -1
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: