Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def predict(frame1, frame2, times_to_interpolate):
|
|
108 |
print (f"DURATION: {frameCount/videoFPS}")
|
109 |
print (videoArray)
|
110 |
|
111 |
-
return "out.mp4"
|
112 |
|
113 |
|
114 |
|
@@ -117,4 +117,4 @@ description="This is a fork of the Gradio demo for FILM: Frame Interpolation for
|
|
117 |
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>"
|
118 |
custom_css = "style.css"
|
119 |
|
120 |
-
gr.Interface(predict,[sketch1,sketch2,slider],
|
|
|
108 |
print (f"DURATION: {frameCount/videoFPS}")
|
109 |
print (videoArray)
|
110 |
|
111 |
+
return "out.mp4", videoArray
|
112 |
|
113 |
|
114 |
|
|
|
117 |
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>"
|
118 |
custom_css = "style.css"
|
119 |
|
120 |
+
gr.Interface(predict,[sketch1,sketch2,slider],outputs=["playable_video", "gallery"],title=title,description=description,article=article, css=custom_css).launch(enable_queue=True)
|