Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import cv2
|
3 |
import numpy
|
4 |
import os
|
@@ -8,7 +9,6 @@ from basicsr.utils.download_util import load_file_from_url
|
|
8 |
from realesrgan import RealESRGANer
|
9 |
from realesrgan.archs.srvgg_arch import SRVGGNetCompact
|
10 |
from torchvision.transforms.functional import rgb_to_grayscale
|
11 |
-
import spaces
|
12 |
|
13 |
last_file = None
|
14 |
img_mode = "RGBA"
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
import cv2
|
4 |
import numpy
|
5 |
import os
|
|
|
9 |
from realesrgan import RealESRGANer
|
10 |
from realesrgan.archs.srvgg_arch import SRVGGNetCompact
|
11 |
from torchvision.transforms.functional import rgb_to_grayscale
|
|
|
12 |
|
13 |
last_file = None
|
14 |
img_mode = "RGBA"
|