Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import numpy as np
|
|
8 |
import tensorflow as tf
|
9 |
import mediapy
|
10 |
from PIL import Image
|
11 |
-
|
12 |
import gradio as gr
|
13 |
|
14 |
from huggingface_hub import snapshot_download
|
@@ -18,7 +18,7 @@ from moviepy.editor import *
|
|
18 |
|
19 |
|
20 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|
21 |
-
|
22 |
interpolator = interpolator.Interpolator(model, None)
|
23 |
|
24 |
ffmpeg_path = util.get_ffmpeg_path()
|
|
|
8 |
import tensorflow as tf
|
9 |
import mediapy
|
10 |
from PIL import Image
|
11 |
+
|
12 |
import gradio as gr
|
13 |
|
14 |
from huggingface_hub import snapshot_download
|
|
|
18 |
|
19 |
|
20 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|
21 |
+
from eval import interpolator, util
|
22 |
interpolator = interpolator.Interpolator(model, None)
|
23 |
|
24 |
ffmpeg_path = util.get_ffmpeg_path()
|