Turing311 commited on
Commit
71e9e2a
1 Parent(s): 927579f
Files changed (1) hide show
  1. app.py +1 -1
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: