descript update
Browse files- App/TTS/utils/Descript.py +0 -17
App/TTS/utils/Descript.py
CHANGED
@@ -354,25 +354,8 @@ class DescriptTTS:
|
|
354 |
"authority": "api.descript.com",
|
355 |
"accept": "application/json, text/plain, */*",
|
356 |
"accept-language": "en-US,en;q=0.9",
|
357 |
-
"accept-version": "v1",
|
358 |
"authorization": f"Bearer {self.bearer_token}",
|
359 |
"cache-control": "no-cache",
|
360 |
-
"origin": "https://web.descript.com",
|
361 |
-
"pragma": "no-cache",
|
362 |
-
"referer": "https://web.descript.com/",
|
363 |
-
"sec-ch-ua": '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"',
|
364 |
-
"sec-ch-ua-mobile": "?0",
|
365 |
-
"sec-ch-ua-platform": '"Windows"',
|
366 |
-
"sec-fetch-dest": "empty",
|
367 |
-
"sec-fetch-mode": "cors",
|
368 |
-
"sec-fetch-site": "same-site",
|
369 |
-
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
|
370 |
-
"x-descript-app-build-number": "20231206.146",
|
371 |
-
"x-descript-app-build-type": "release",
|
372 |
-
"x-descript-app-id": "48db7358-5ebc-4866-b672-10b412ac39c1",
|
373 |
-
"x-descript-app-name": "web",
|
374 |
-
"x-descript-app-version": "78.2.4",
|
375 |
-
"x-descript-auth": "auth0",
|
376 |
}
|
377 |
|
378 |
async with aiohttp.ClientSession() as session:
|
|
|
354 |
"authority": "api.descript.com",
|
355 |
"accept": "application/json, text/plain, */*",
|
356 |
"accept-language": "en-US,en;q=0.9",
|
|
|
357 |
"authorization": f"Bearer {self.bearer_token}",
|
358 |
"cache-control": "no-cache",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
}
|
360 |
|
361 |
async with aiohttp.ClientSession() as session:
|