|
@@ -0,0 +1,23 @@
|
|
|
+from pathlib import Path
|
|
|
+videofile=[".mp4", ".avi", ".MOV", ".mov"]
|
|
|
+imagefile=[".png", ".jpg", ".PNG", ".JPG", ".jpeg"]
|
|
|
+outputfile = "output.mp4"
|
|
|
+voice_json = "voice.json"
|
|
|
+temp_dir = "temp"
|
|
|
+input_dir = "input"
|
|
|
+voice_dir = "voice"
|
|
|
+caption_dir = "caption"
|
|
|
+ai_character_dir = "ai_character"
|
|
|
+output_dir = "output"
|
|
|
+srt_dir = "srt"
|
|
|
+character = "character"
|
|
|
+user_upload = "user_upload"
|
|
|
+DEFAULT_AI_CHARACTER = "angela"
|
|
|
+STORAGE_PATH = Path(__file__).resolve().parent.parent.parent / "storage"
|
|
|
+AI_CHARACTER_PATH = STORAGE_PATH / "character"
|
|
|
+STYLE_PATH = STORAGE_PATH / "style"
|
|
|
+DEFAULT_STYLE = "style1"
|
|
|
+HD = (1280, 720)
|
|
|
+FHD = (1920, 1080)
|
|
|
+QHD = (2560, 1440)
|
|
|
+UHD = (3840, 2160)
|