Tile commited on
Commit
d2756f7
·
1 Parent(s): 0eb2af9

first commit

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -250,6 +250,8 @@ def http_bot(
250
  try:
251
  # Stream output
252
  response = requests.post(url, headers=headers, json=pload, timeout=100, stream=True)
 
 
253
  for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\0"):
254
  if chunk:
255
  res = json.loads(chunk.decode())
 
250
  try:
251
  # Stream output
252
  response = requests.post(url, headers=headers, json=pload, timeout=100, stream=True)
253
+ print("response")
254
+ logger.info(reponse)
255
  for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\0"):
256
  if chunk:
257
  res = json.loads(chunk.decode())