randomtable commited on
Commit
d903640
1 Parent(s): 323b6c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model4.load_weights('weights/RealESRGAN_x4.pth', download=True)
12
  model8 = RealESRGAN(device, scale=8)
13
  model8.load_weights('weights/RealESRGAN_x8.pth', download=True)
14
 
15
- @spaces.GPU(duration=120)
16
  def inference(image, size):
17
  global model2
18
  global model4
 
12
  model8 = RealESRGAN(device, scale=8)
13
  model8.load_weights('weights/RealESRGAN_x8.pth', download=True)
14
 
15
+ @spaces.GPU
16
  def inference(image, size):
17
  global model2
18
  global model4