theFisher86 commited on
Commit
111e0cd
1 Parent(s): 21d0068

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def faceSwap(file1, file2):
34
  urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
35
  headers = {"accept": "application/json", "X-Prodia-Key": api_key}
36
  response = requests.get(urlBase + jobNumber, headers=headers)
37
- print(response.json().get("status"))
38
- result = response.json().get("job")
39
  #result = "yay"
40
  else:
41
  print(f"Couldn't create job. {response.status_code}")
 
34
  urlBase = f"https://api.prodia.com/v1/job/{jobNumber}"
35
  headers = {"accept": "application/json", "X-Prodia-Key": api_key}
36
  response = requests.get(urlBase + jobNumber, headers=headers)
37
+ print(f"Status: {response.json().get("status")}")
38
+ result = f"https://images.prodia.xyz/{jobNumber}.png"
39
  #result = "yay"
40
  else:
41
  print(f"Couldn't create job. {response.status_code}")