ismdrobiul489 commited on
Commit
11ac04d
·
1 Parent(s): ceb77ca

Fix Config type hint in short_creator.py

Browse files
modules/video_creator/services/short_creator.py CHANGED
@@ -2,7 +2,7 @@ import asyncio
2
  import logging
3
  import uuid
4
  from pathlib import Path
5
- from typing import List, Dict, Optional
6
  import aiohttp
7
  import requests
8
 
@@ -25,7 +25,7 @@ class ShortCreator:
25
 
26
  def __init__(
27
  self,
28
- config: Config,
29
  tts_client: TTSClient,
30
  whisper_client: WhisperClient,
31
  pexels_client: PexelsClient,
 
2
  import logging
3
  import uuid
4
  from pathlib import Path
5
+ from typing import List, Dict, Optional, Any
6
  import aiohttp
7
  import requests
8
 
 
25
 
26
  def __init__(
27
  self,
28
+ config: Any, # NCAkitConfig from parent
29
  tts_client: TTSClient,
30
  whisper_client: WhisperClient,
31
  pexels_client: PexelsClient,