Spaces:
Runtime error
Runtime error
fix bug
Browse files
app.py
CHANGED
@@ -59,7 +59,6 @@ with gr.Blocks() as demo:
|
|
59 |
submit = gr.Button("Animate")
|
60 |
|
61 |
def read_video(video):
|
62 |
-
size = int(size)
|
63 |
reader = imageio.get_reader(video)
|
64 |
fps = reader.get_meta_data()['fps']
|
65 |
assert fps == 25.0, f'Expected video fps: 25, but {fps} fps found'
|
|
|
59 |
submit = gr.Button("Animate")
|
60 |
|
61 |
def read_video(video):
|
|
|
62 |
reader = imageio.get_reader(video)
|
63 |
fps = reader.get_meta_data()['fps']
|
64 |
assert fps == 25.0, f'Expected video fps: 25, but {fps} fps found'
|