Spaces:
Runtime error
Runtime error
Update real_esrgan_app.py
Browse files- real_esrgan_app.py +2 -2
real_esrgan_app.py
CHANGED
@@ -22,11 +22,11 @@ def run_cmd(command):
|
|
22 |
except KeyboardInterrupt:
|
23 |
print("Process interrupted")
|
24 |
sys.exit(1)
|
25 |
-
run_cmd("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P .")
|
26 |
run_cmd("pip install basicsr")
|
27 |
run_cmd("pip freeze")
|
28 |
|
29 |
-
os.system("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P .")
|
30 |
|
31 |
|
32 |
def inference(img,mode):
|
|
|
22 |
except KeyboardInterrupt:
|
23 |
print("Process interrupted")
|
24 |
sys.exit(1)
|
25 |
+
#run_cmd("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P .")
|
26 |
run_cmd("pip install basicsr")
|
27 |
run_cmd("pip freeze")
|
28 |
|
29 |
+
#os.system("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P .")
|
30 |
|
31 |
|
32 |
def inference(img,mode):
|