jbilcke-hf HF staff commited on
Commit
311fe07
1 Parent(s): 2a9d713

remove the scaling to 1024x576

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -44,7 +44,10 @@ def generate_video(
44
  raise gr.Error(
45
  f'Invalid secret token. Please fork the original space if you want to use it for yourself.')
46
 
47
- image = resize_image(image)
 
 
 
48
 
49
  if image.mode == "RGBA":
50
  image = image.convert("RGB")
 
44
  raise gr.Error(
45
  f'Invalid secret token. Please fork the original space if you want to use it for yourself.')
46
 
47
+
48
+ # note julian: normally we should resize input images, but normally they are already in 1024x576, so..
49
+ # also, I would like to experiment with vertical videos, and 1024x512 videos
50
+ # image = resize_image(image)
51
 
52
  if image.mode == "RGBA":
53
  image = image.convert("RGB")