Spaces:
Runtime error
Runtime error
Commit
·
60f8c26
1
Parent(s):
603d210
hmmmm
Browse files
app.py
CHANGED
@@ -67,7 +67,6 @@ def generate_interpolation(text, fps=10):
|
|
67 |
vid = list(util.interpolate_recursively_from_files(frames, fps, interpolator))
|
68 |
|
69 |
mediapy.write_video("out.mp4", vid, fps=fps)
|
70 |
-
|
71 |
return "out.mp4"
|
72 |
|
73 |
|
@@ -78,6 +77,6 @@ with demo:
|
|
78 |
button = gr.Button("Generate Video")
|
79 |
output = gr.Video(label="Generated Video")
|
80 |
|
81 |
-
button.click(fn=generate_interpolation, inputs=text, outputs=
|
82 |
|
83 |
demo.launch(debug=True, enable_queue=True)
|
|
|
67 |
vid = list(util.interpolate_recursively_from_files(frames, fps, interpolator))
|
68 |
|
69 |
mediapy.write_video("out.mp4", vid, fps=fps)
|
|
|
70 |
return "out.mp4"
|
71 |
|
72 |
|
|
|
77 |
button = gr.Button("Generate Video")
|
78 |
output = gr.Video(label="Generated Video")
|
79 |
|
80 |
+
button.click(fn=generate_interpolation, inputs=text, outputs=output)
|
81 |
|
82 |
demo.launch(debug=True, enable_queue=True)
|