Spaces:
Runtime error
Runtime error
theFisher86
commited on
Commit
•
954ff05
1
Parent(s):
635f9dc
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,9 @@ def faceSwap(file1, file2):
|
|
21 |
"content-type": "application/json"
|
22 |
}
|
23 |
api_key=os.getenv("PRODIA_API_KEY")
|
|
|
|
|
|
|
24 |
response = requests.post(url, json=payload, headers=headers)
|
25 |
|
26 |
if response.status_code == 200:
|
|
|
21 |
"content-type": "application/json"
|
22 |
}
|
23 |
api_key=os.getenv("PRODIA_API_KEY")
|
24 |
+
print(url)
|
25 |
+
print(paylod)
|
26 |
+
print(headers)
|
27 |
response = requests.post(url, json=payload, headers=headers)
|
28 |
|
29 |
if response.status_code == 200:
|