mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 22:42:14 +03:00
txt2vid fix enumerate(... max_frames))
-> enumerate(... num_steps))
This commit is contained in:
parent
6009b03752
commit
ba84d28da2
@ -439,7 +439,7 @@ def txt2vid(
|
||||
# sample the destination
|
||||
init2 = torch.randn((1, st.session_state["pipe"].unet.in_channels, height // 8, width // 8), device=torch_device)
|
||||
|
||||
for i, t in enumerate(np.linspace(0, 1, max_frames)):
|
||||
for i, t in enumerate(np.linspace(0, 1, num_steps)):
|
||||
start = timeit.default_timer()
|
||||
print(f"COUNT: {frame_index+1}/{max_frames}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user