Sfoglia il codice sorgente

Merge branch 'master' of http://git.choozmo.com:3000/ai-anchor/video-maker

tomoya 1 anno fa
parent
commit
f460468194
1 ha cambiato i file con 23 aggiunte e 0 eliminazioni
  1. 23 0
      backend/app/app/aianchor/config.py

+ 23 - 0
backend/app/app/aianchor/config.py

@@ -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)