Spaces:
Sleeping
Sleeping
Update
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def compare_face(frame1, frame2):
|
|
9 |
files = {'image1': open(frame1, 'rb'), 'image2': open(frame2, 'rb')}
|
10 |
headers = {"X-RapidAPI-Key": os.environ.get("API_KEY")}
|
11 |
|
12 |
-
r = requests.post(url=url, files=files)
|
13 |
faces = None
|
14 |
|
15 |
try:
|
|
|
9 |
files = {'image1': open(frame1, 'rb'), 'image2': open(frame2, 'rb')}
|
10 |
headers = {"X-RapidAPI-Key": os.environ.get("API_KEY")}
|
11 |
|
12 |
+
r = requests.post(url=url, files=files, headers=headers)
|
13 |
faces = None
|
14 |
|
15 |
try:
|