Update video generation to use heygen.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user