mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
resolve issue with video concatenation
order always being random
This commit is contained in:
parent
905841965a
commit
5c2db3aa92
@ -162,7 +162,7 @@ def generate_final_videos(
|
||||
final_video_paths = []
|
||||
combined_video_paths = []
|
||||
video_concat_mode = (
|
||||
params.video_concat_mode if params.video_count > 1 else VideoConcatMode.random
|
||||
params.video_concat_mode if params.video_count == 1 else VideoConcatMode.random
|
||||
)
|
||||
|
||||
_progress = 50
|
||||
|
||||
@ -542,7 +542,7 @@ with middle_panel:
|
||||
params.video_aspect = VideoAspect(video_aspect_ratios[selected_index][1])
|
||||
|
||||
params.video_clip_duration = st.selectbox(
|
||||
tr("Clip Duration"), options=[2, 3, 4, 5, 6], index=1
|
||||
tr("Clip Duration"), options=[2, 3, 4, 5, 6, 7, 8, 9, 10], index=1
|
||||
)
|
||||
params.video_count = st.selectbox(
|
||||
tr("Number of Videos Generated Simultaneously"),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user