Spaces:
Paused
Paused
tweaks
Browse files
main.py
CHANGED
|
@@ -1243,7 +1243,7 @@ def run_app(images, video_path, train_steps=100, inference_steps=10, fps=12, bg_
|
|
| 1243 |
|
| 1244 |
return out_vid+'.webm', results
|
| 1245 |
|
| 1246 |
-
|
| 1247 |
def interpolate_frames(frame1, frame2, times_to_interp):
|
| 1248 |
film = Predictor()
|
| 1249 |
film.setup()
|
|
|
|
| 1243 |
|
| 1244 |
return out_vid+'.webm', results
|
| 1245 |
|
| 1246 |
+
@spaces.GPU(duration=30)
|
| 1247 |
def interpolate_frames(frame1, frame2, times_to_interp):
|
| 1248 |
film = Predictor()
|
| 1249 |
film.setup()
|