linoyts HF Staff commited on
Commit
c6c7764
·
verified ·
1 Parent(s): fe5cc41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -63,7 +63,8 @@ def generate(prompt,
63
  if mode == "text-to-video" and (video is not None):
64
  video = load_video(video)[:frames_to_use]
65
  condition = True
66
- elif mode == "image-to-video" and (image is not None):
 
67
  print("WTFFFFFF")
68
  video = [image]
69
  condition = True
 
63
  if mode == "text-to-video" and (video is not None):
64
  video = load_video(video)[:frames_to_use]
65
  condition = True
66
+ #elif mode == "image-to-video" and (image is not None):
67
+ elif image is not None:
68
  print("WTFFFFFF")
69
  video = [image]
70
  condition = True