Spaces:
Runtime error
Runtime error
root
commited on
Commit
·
bd5e80c
1
Parent(s):
d5516b2
Front-Back connect test
Browse files
app.py
CHANGED
@@ -141,7 +141,6 @@ def img2img(*args):
|
|
141 |
|
142 |
url = "http://flagart.baai.ac.cn/api/img2img/"
|
143 |
d = {"data":args}
|
144 |
-
print(d)
|
145 |
r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
|
146 |
print(r)
|
147 |
result_text = r.text
|
|
|
141 |
|
142 |
url = "http://flagart.baai.ac.cn/api/img2img/"
|
143 |
d = {"data":args}
|
|
|
144 |
r = requests.post(url, json=d, headers={"Content-Type": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive"})
|
145 |
print(r)
|
146 |
result_text = r.text
|