Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import requests
|
|
| 4 |
import json
|
| 5 |
|
| 6 |
def check_id_liveness(frame):
|
| 7 |
-
url = "
|
| 8 |
files = {'image': open(frame, 'rb')}
|
| 9 |
try:
|
| 10 |
r = requests.post(url=url, files=files)
|
|
|
|
| 4 |
import json
|
| 5 |
|
| 6 |
def check_id_liveness(frame):
|
| 7 |
+
url = "https://idlive.miniai.live/api/check_id_liveness"
|
| 8 |
files = {'image': open(frame, 'rb')}
|
| 9 |
try:
|
| 10 |
r = requests.post(url=url, files=files)
|