mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-13 18:02:31 +03:00
Merge branch 'Sygil-Dev:dev' into dev
This commit is contained in:
commit
1e0354be37
@ -1056,7 +1056,6 @@ def diffuse(
|
||||
speed = "it/s"
|
||||
duration = 1 / duration
|
||||
|
||||
# perhaps add an option to set fps within the ui eventually
|
||||
total_frames = st.session_state.max_duration_in_seconds * fps
|
||||
total_steps = st.session_state.sampling_steps + st.session_state.num_inference_steps
|
||||
|
||||
@ -1585,6 +1584,8 @@ def txt2vid(
|
||||
|
||||
st.session_state["frame_duration"] = duration
|
||||
st.session_state["frame_speed"] = speed
|
||||
if frame_index+1 > total_frames:
|
||||
break
|
||||
|
||||
init1 = init2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user