Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ model8 = RealESRGAN(device, scale=8)
|
|
15 |
model8.load_weights('weights/RealESRGAN_x8.pth', download=True)
|
16 |
|
17 |
|
18 |
-
@spaces.GPU(duration=
|
19 |
def inference(image, size):
|
20 |
start_load = time.time()
|
21 |
global model2
|
|
|
15 |
model8.load_weights('weights/RealESRGAN_x8.pth', download=True)
|
16 |
|
17 |
|
18 |
+
@spaces.GPU(duration=13)
|
19 |
def inference(image, size):
|
20 |
start_load = time.time()
|
21 |
global model2
|