Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
import os
|
|
|
2 |
os.system("mim install mmcv-full")
|
3 |
os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
|
4 |
os.chdir("RealBasicVSR")
|
5 |
import gradio as gr
|
6 |
os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
|
|
|
7 |
|
8 |
os.mkdir("test")
|
9 |
def inference(img):
|
|
|
1 |
import os
|
2 |
+
import sys
|
3 |
os.system("mim install mmcv-full")
|
4 |
os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
|
5 |
os.chdir("RealBasicVSR")
|
6 |
import gradio as gr
|
7 |
os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
|
8 |
+
sys.path.append("RealBasicVSR")
|
9 |
|
10 |
os.mkdir("test")
|
11 |
def inference(img):
|