Spaces:
Runtime error
Runtime error
root
commited on
Commit
•
c4755a9
1
Parent(s):
20a8a12
Front-Back connect test
Browse files
app.py
CHANGED
@@ -140,8 +140,8 @@ def img2img(*args):
|
|
140 |
r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
|
141 |
print(r)
|
142 |
result_text = r.text
|
143 |
-
content = json.loads(result_text)
|
144 |
-
print(
|
145 |
return
|
146 |
|
147 |
|
|
|
140 |
r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
|
141 |
print(r)
|
142 |
result_text = r.text
|
143 |
+
# content = json.loads(result_text)
|
144 |
+
print(result_text)
|
145 |
return
|
146 |
|
147 |
|