mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2025-03-15 14:02:12 +00:00
13 lines
365 B
Python
13 lines
365 B
Python
mapping = {
|
|
"src_key": "../assets/examples/source/s5.jpg",
|
|
"driving_key": "../assets/examples/driving/d13.mp4",
|
|
}
|
|
|
|
import requests, json
|
|
|
|
base_url = "http://localhost:8005"
|
|
headers = {"accept": "application/json", "Content-Type": "application/json"}
|
|
|
|
response = requests.post(f"{base_url}/submit", headers=headers, json=mapping)
|
|
print(response)
|