Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import os
|
|
14 |
import cv2
|
15 |
import numpy as np
|
16 |
from super_image import EdsrModel, ImageLoader
|
17 |
-
|
18 |
|
19 |
|
20 |
@spaces.GPU
|
@@ -68,10 +68,6 @@ def upscale_video(video_path, scale_factor, progress=gr.Progress()):
|
|
68 |
|
69 |
return output_path
|
70 |
|
71 |
-
from RIFE import Model as RIFEModel
|
72 |
-
from safetensors.torch import load_file
|
73 |
-
|
74 |
-
# ... (existing code)
|
75 |
|
76 |
@spaces.GPU
|
77 |
def rife_interpolate_video(video_path, progress=gr.Progress()):
|
|
|
14 |
import cv2
|
15 |
import numpy as np
|
16 |
from super_image import EdsrModel, ImageLoader
|
17 |
+
from safetensors.torch import load_file
|
18 |
|
19 |
|
20 |
@spaces.GPU
|
|
|
68 |
|
69 |
return output_path
|
70 |
|
|
|
|
|
|
|
|
|
71 |
|
72 |
@spaces.GPU
|
73 |
def rife_interpolate_video(video_path, progress=gr.Progress()):
|