theFisher86 commited on
Commit
3008218
1 Parent(s): 9ecd4e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def faceSwap(file1, file2):
28
 
29
  response = requests.get(urlBase + jobNumber, headers=headers)
30
  urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
31
- headers = {"accept": "application/json"}
32
  result = print(response)
33
  else:
34
  print(f"Couldn't create job. {response.status_code}")
 
28
 
29
  response = requests.get(urlBase + jobNumber, headers=headers)
30
  urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
31
+ headers = {"accept": "application/json", "X-Prodia-Key": "e59a5ade-5945-4229-945c-55c9c332469c"}
32
  result = print(response)
33
  else:
34
  print(f"Couldn't create job. {response.status_code}")