root commited on
Commit
bd5e80c
1 Parent(s): d5516b2

Front-Back connect test

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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