tuan2308 commited on
Commit
4a63bcf
·
verified ·
1 Parent(s): 17277c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
  import urllib.request
8
 
9
  # URL đến mô hình hoán đổi khuôn mặt
10
- model_url = "https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx"
11
  model_path = os.path.expanduser('~/.insightface/models/inswapper_128.onnx')
12
 
13
  # Tải mô hình nếu chưa tồn tại
 
7
  import urllib.request
8
 
9
  # URL đến mô hình hoán đổi khuôn mặt
10
+ model_url = "https://huggingface.co/ezioruan/inswapper_128.onnx/resolve/main/inswapper_128.onnx"
11
  model_path = os.path.expanduser('~/.insightface/models/inswapper_128.onnx')
12
 
13
  # Tải mô hình nếu chưa tồn tại