Spaces:
doevent
/
Running on Zero

doevent commited on
Commit
9523f13
·
verified ·
1 Parent(s): 01dcf3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def resize(img, size):
96
 
97
 
98
  @torch.inference_mode()
99
- @spaces.GPU()
100
  def enhance_face(img, face_helper, has_aligned, num_flow_steps, scale=2):
101
  face_helper.clean_all()
102
  if has_aligned: # The inputs are already aligned
 
96
 
97
 
98
  @torch.inference_mode()
99
+ @spaces.GPU(duration=30)
100
  def enhance_face(img, face_helper, has_aligned, num_flow_steps, scale=2):
101
  face_helper.clean_all()
102
  if has_aligned: # The inputs are already aligned