Spaces:
Runtime error
Runtime error
theFisher86
commited on
Commit
•
c7a5f79
1
Parent(s):
2cc57d5
Update app.py
Browse files
app.py
CHANGED
@@ -24,13 +24,13 @@ def faceSwap(file1, file2):
|
|
24 |
|
25 |
print(response.text)
|
26 |
|
27 |
-
|
28 |
|
29 |
-
headers = {"accept": "application/json"}
|
30 |
|
31 |
-
response = requests.get(
|
32 |
|
33 |
-
print(response.
|
34 |
|
35 |
return result
|
36 |
|
|
|
24 |
|
25 |
print(response.text)
|
26 |
|
27 |
+
urlBase = "https://api.prodia.com/v1/job/"
|
28 |
|
29 |
+
headers = {"accept": "application/json"}
|
30 |
|
31 |
+
response = requests.get(urlBase + jobNumber, headers=headers)
|
32 |
|
33 |
+
result = print(response.imageURL)
|
34 |
|
35 |
return result
|
36 |
|