Spaces:
Runtime error
Runtime error
chuxiaojie
commited on
Commit
•
abe72ec
1
Parent(s):
84f997c
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ os.system("git clone https://github.com/megvii-research/NAFNet")
|
|
6 |
os.system("mv NAFNet/* ./")
|
7 |
os.system("mv NAFNet-REDS-width64.pth experiments/pretrained_models/")
|
8 |
os.system("mv NAFNet-SIDD-width64.pth experiments/pretrained_models/")
|
9 |
-
os.system("python3 setup.py develop --no_cuda_ext")
|
10 |
|
11 |
|
12 |
def inference(image, task):
|
|
|
6 |
os.system("mv NAFNet/* ./")
|
7 |
os.system("mv NAFNet-REDS-width64.pth experiments/pretrained_models/")
|
8 |
os.system("mv NAFNet-SIDD-width64.pth experiments/pretrained_models/")
|
9 |
+
os.system("python3 setup.py develop --no_cuda_ext --user")
|
10 |
|
11 |
|
12 |
def inference(image, task):
|