Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ import moviepy
|
|
10 |
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
|
11 |
import moviepy.video.io.ImageSequenceClip
|
12 |
from moviepy.editor import *
|
13 |
-
|
14 |
uid=uuid.uuid4()
|
15 |
if not os.path.exists(f'{uid}'): os.makedirs(f'{uid}')
|
16 |
if not os.path.exists(f'{uid}-frames'): os.makedirs(f'{uid}-frames')
|
17 |
if not os.path.exists(f'{uid}-rembg'): os.makedirs(f'{uid}-rembg')
|
18 |
-
esr = gr.Interface.load("spaces/Omnibus/Real_ESRGAN_mod")
|
19 |
|
20 |
load_js = """
|
21 |
function(text_input, url_params) {
|
|
|
10 |
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
|
11 |
import moviepy.video.io.ImageSequenceClip
|
12 |
from moviepy.editor import *
|
13 |
+
import esr
|
14 |
uid=uuid.uuid4()
|
15 |
if not os.path.exists(f'{uid}'): os.makedirs(f'{uid}')
|
16 |
if not os.path.exists(f'{uid}-frames'): os.makedirs(f'{uid}-frames')
|
17 |
if not os.path.exists(f'{uid}-rembg'): os.makedirs(f'{uid}-rembg')
|
18 |
+
#esr = gr.Interface.load("spaces/Omnibus/Real_ESRGAN_mod")
|
19 |
|
20 |
load_js = """
|
21 |
function(text_input, url_params) {
|