linoyts HF Staff commited on
Commit
34999ab
·
verified ·
1 Parent(s): d1866f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def generate(prompt,
61
  downscaled_height, downscaled_width = int(expected_height * downscale_factor), int(expected_width * downscale_factor)
62
  downscaled_height, downscaled_width = round_to_nearest_resolution_acceptable_by_vae(downscaled_height, downscaled_width)
63
 
 
64
  if mode == "text-to-video" and (video is not None):
65
  video = load_video(video)[:frames_to_use]
66
  condition = True
 
61
  downscaled_height, downscaled_width = int(expected_height * downscale_factor), int(expected_width * downscale_factor)
62
  downscaled_height, downscaled_width = round_to_nearest_resolution_acceptable_by_vae(downscaled_height, downscaled_width)
63
 
64
+ print(mode)
65
  if mode == "text-to-video" and (video is not None):
66
  video = load_video(video)[:frames_to_use]
67
  condition = True