Spaces:
Runtime error
Runtime error
theFisher86
commited on
Commit
•
33b7e4b
1
Parent(s):
0d8e5e0
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def faceSwap(file1, file2):
|
|
33 |
urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
|
34 |
headers = {"accept": "application/json", "X-Prodia-Key": api_key}
|
35 |
response = requests.get(urlBase + jobNumber, headers=headers)
|
36 |
-
result = response.json().get("status")
|
37 |
-
|
38 |
else:
|
39 |
print(f"Couldn't create job. {response.status_code}")
|
40 |
result = "fuck"
|
|
|
33 |
urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
|
34 |
headers = {"accept": "application/json", "X-Prodia-Key": api_key}
|
35 |
response = requests.get(urlBase + jobNumber, headers=headers)
|
36 |
+
#result = response.json().get("status")
|
37 |
+
result = "yay"
|
38 |
else:
|
39 |
print(f"Couldn't create job. {response.status_code}")
|
40 |
result = "fuck"
|