Separate out transcription and translation into own Modal deployments (#268)

* abstract transcript/translate into separate GPU apps

* update app names

* update transformers library version

* update env.example file
This commit is contained in:
projects-g
2023-10-13 22:01:21 +05:30
committed by GitHub
parent 6508e97bba
commit 628c69f81c
5 changed files with 246 additions and 140 deletions

View File

@@ -38,6 +38,10 @@ class Settings(BaseSettings):
TRANSCRIPT_URL: str | None = None
TRANSCRIPT_TIMEOUT: int = 90
# Translate into the target language
TRANSLATE_URL: str | None = None
TRANSLATE_TIMEOUT: int = 90
# Audio transcription banana.dev configuration
TRANSCRIPT_BANANA_API_KEY: str | None = None
TRANSCRIPT_BANANA_MODEL_KEY: str | None = None