fffiloni commited on
Commit
c292509
1 Parent(s): 7fa6f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ pix2pix = gr.Blocks.load(name="spaces/fffiloni/instruct-pix2pix-clone", api_key=
10
  def get_frames(video_in):
11
  frames = []
12
  #resize the video
13
- clip = mp.VideoFileClip(video_in)
14
  clip_resized = clip.resize(height=512)
15
  clip_resized.write_videofile("video_resized.mp4")
16
  print("video resized to 512 height")
 
10
  def get_frames(video_in):
11
  frames = []
12
  #resize the video
13
+ clip = VideoFileClip(video_in)
14
  clip_resized = clip.resize(height=512)
15
  clip_resized.write_videofile("video_resized.mp4")
16
  print("video resized to 512 height")