tuan2308 commited on
Commit
79f94dc
·
verified ·
1 Parent(s): 0c5d46f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def maybe_spaces_gpu(fn):
22
  last_file = None
23
  img_mode = "RGBA"
24
 
25
- @maybe_spaces_gpu
26
  def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
27
  """Real-ESRGAN function to restore (and upscale) images.
28
  """
 
22
  last_file = None
23
  img_mode = "RGBA"
24
 
25
+ @spaces.GPU
26
  def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
27
  """Real-ESRGAN function to restore (and upscale) images.
28
  """