Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,5 +71,8 @@ def predict(frame1, frame2, times_to_interpolate):
|
|
71 |
mediapy.write_video("out.mp4", frames, fps=30)
|
72 |
return "out.mp4"
|
73 |
|
|
|
|
|
|
|
74 |
|
75 |
-
gr.Interface(predict,[sketch1,sketch2,gr.inputs.Slider(minimum=2,maximum=4,step=1)],"playable_video").launch(enable_queue=True)
|
|
|
71 |
mediapy.write_video("out.mp4", frames, fps=30)
|
72 |
return "out.mp4"
|
73 |
|
74 |
+
title="sketch-frame-interpolation"
|
75 |
+
description="This is a fork of the Gradio demo for FILM: Frame Interpolation for Large Scene Motion from @akhaliq, but using sketches instead of images. This could be very useful for the animation industry :) <br /> To use it, simply draw your sketches and add the times to interpolate number. Read more at the links below."
|
76 |
+
article = "<p style='text-align: center'><a href='https://film-net.github.io/' target='_blank'>FILM: Frame Interpolation for Large Motion</a> | <a href='https://github.com/google-research/frame-interpolation' target='_blank'>Github Repo</a></p>"
|
77 |
|
78 |
+
gr.Interface(predict,[sketch1,sketch2,gr.inputs.Slider(minimum=2,maximum=4,step=1)],"playable_video",title=title,description=description,article=article).launch(enable_queue=True)
|