Spaces:
Runtime error
Runtime error
Ahsen Khaliq commited on
Commit ·
7d5f3ef
1
Parent(s): bf91721
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from random import randint
|
|
| 7 |
import sys
|
| 8 |
from subprocess import call
|
| 9 |
|
| 10 |
-
torch.hub.download_url_to_file('https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth', 'experiments/pretrained_models/RealESRGAN_x4plus.pth')
|
| 11 |
|
| 12 |
def run_cmd(command):
|
| 13 |
try:
|
|
|
|
| 7 |
import sys
|
| 8 |
from subprocess import call
|
| 9 |
|
| 10 |
+
torch.hub.download_url_to_file('https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth', './experiments/pretrained_models/RealESRGAN_x4plus.pth')
|
| 11 |
|
| 12 |
def run_cmd(command):
|
| 13 |
try:
|