Update app.py
Browse files
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
|