Update video generation to use heygen.

This commit is contained in:
Cristiano Ferreira
2024-11-07 23:32:44 +00:00
parent 2263c55776
commit 81a74c5f3b
3 changed files with 10 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ class DependencyInjector:
elai_conf = json.load(file)
self._container.vid_gen = providers.Factory(
ELAI, client=self._container.http_client, token=os.getenv("ELAI_TOKEN"), conf=elai_conf
Heygen, client=self._container.http_client, token=os.getenv("HEY_GEN_TOKEN")
)
self._container.ai_detector = providers.Factory(
GPTZero, client=self._container.http_client, gpt_zero_key=os.getenv("GPT_ZERO_API_KEY")