vilarin commited on
Commit
e33a9af
·
verified ·
1 Parent(s): 0c24dd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -99,8 +99,7 @@ def change_media(image_in, video_in, selected):
99
 
100
  def update_frames(video_in):
101
  up_video = VideoData(
102
- video_file=video_in,
103
- height=shape_height, width=shape_width)
104
  frame_len = len(up_video)
105
  return gr.update(maximum=frame_len)
106
 
 
99
 
100
  def update_frames(video_in):
101
  up_video = VideoData(
102
+ video_file=video_in)
 
103
  frame_len = len(up_video)
104
  return gr.update(maximum=frame_len)
105