tuan2308 commited on
Commit
705287f
1 Parent(s): 98bfc51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ import onnxruntime as ort
18
  import cv2
19
  from roop.face_analyser import get_one_face
20
 
21
- @spaces.GPU(enable_queue=True)
22
  def swap_face(source_file, target_file, doFaceEnhancer):
23
  session_id = str(uuid.uuid4()) # Tạo một UUID duy nhất cho mỗi phiên làm việc
24
  session_dir = f"temp/{session_id}"
 
18
  import cv2
19
  from roop.face_analyser import get_one_face
20
 
21
+ @spaces.GPU
22
  def swap_face(source_file, target_file, doFaceEnhancer):
23
  session_id = str(uuid.uuid4()) # Tạo một UUID duy nhất cho mỗi phiên làm việc
24
  session_dir = f"temp/{session_id}"