sandrocalzada commited on
Commit
438d719
1 Parent(s): 061fa24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def predict(image_in_video, image_in_img):
11
 
12
  app = FaceAnalysis(name='buffalo_l')
13
  app.prepare(ctx_id=0, det_size=(640, 640))
14
- swapper = insightface.model_zoo.get_model('/content/drive/MyDrive/inswapper_128.onnx', download='FALSE', download_zip= 'FALSE')
15
 
16
  def swapi(imagen):
17
  img = cv2.cvtColor(np.array(imagen), cv2.COLOR_RGB2BGR) # Convert image from RGB to BGR format
 
11
 
12
  app = FaceAnalysis(name='buffalo_l')
13
  app.prepare(ctx_id=0, det_size=(640, 640))
14
+ swapper = insightface.model_zoo.get_model('inswapper_128.onnx', download='FALSE', download_zip= 'FALSE')
15
 
16
  def swapi(imagen):
17
  img = cv2.cvtColor(np.array(imagen), cv2.COLOR_RGB2BGR) # Convert image from RGB to BGR format