feat: optimize code and bump version to 1.2.4
This commit is contained in:
@@ -45,7 +45,9 @@ app = _cfg.get("app", {})
|
||||
whisper = _cfg.get("whisper", {})
|
||||
proxy = _cfg.get("proxy", {})
|
||||
azure = _cfg.get("azure", {})
|
||||
ui = _cfg.get("ui", {})
|
||||
ui = _cfg.get("ui", {
|
||||
"hide_log": False,
|
||||
})
|
||||
|
||||
hostname = socket.gethostname()
|
||||
|
||||
@@ -57,7 +59,7 @@ project_description = _cfg.get(
|
||||
"project_description",
|
||||
"<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>",
|
||||
)
|
||||
project_version = _cfg.get("project_version", "1.2.3")
|
||||
project_version = _cfg.get("project_version", "1.2.4")
|
||||
reload_debug = False
|
||||
|
||||
imagemagick_path = app.get("imagemagick_path", "")
|
||||
|
||||
@@ -138,7 +138,6 @@ def combine_videos(
|
||||
)
|
||||
|
||||
shuffle_side = random.choice(["left", "right", "top", "bottom"])
|
||||
logger.info(f"Using transition mode: {video_transition_mode}")
|
||||
if video_transition_mode.value == VideoTransitionMode.none.value:
|
||||
clip = clip
|
||||
elif video_transition_mode.value == VideoTransitionMode.fade_in.value:
|
||||
|
||||
Reference in New Issue
Block a user