Spaces:
Runtime error
Runtime error
Commit
·
b8a9515
1
Parent(s):
98aaf24
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,8 @@ def predict(frame1, frame2, times_to_interpolate):
|
|
56 |
|
57 |
mediapy.write_video("out.mp4", frames, fps=30)
|
58 |
return "out.mp4"
|
59 |
-
|
60 |
-
|
|
|
61 |
examples=[['cat3.jpeg','cat4.jpeg',2]]
|
62 |
gr.Interface(predict,[gr.inputs.Image(type='filepath'),gr.inputs.Image(type='filepath'),gr.inputs.Slider(minimum=2,maximum=8,step=1)],"playable_video",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
|
|
|
56 |
|
57 |
mediapy.write_video("out.mp4", frames, fps=30)
|
58 |
return "out.mp4"
|
59 |
+
article=""
|
60 |
+
description="Using AI to guess the frames between two separate images."
|
61 |
+
title="Frame Interpolation"
|
62 |
examples=[['cat3.jpeg','cat4.jpeg',2]]
|
63 |
gr.Interface(predict,[gr.inputs.Image(type='filepath'),gr.inputs.Image(type='filepath'),gr.inputs.Slider(minimum=2,maximum=8,step=1)],"playable_video",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
|