Kerogolon commited on
Commit
2e2133f
·
verified ·
1 Parent(s): 7fdd85d

Update app.py

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