hotfix/server: add follow_redirect on modal

This commit is contained in:
2023-11-02 19:09:13 +01:00
parent 3424550ea9
commit c87c30d339
4 changed files with 4 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ class TranscriptTranslatorProcessor(Processor):
headers=self.headers,
params=json_payload,
timeout=self.timeout,
follow_redirects=True,
)
response.raise_for_status()
result = response.json()["text"]