nanova commited on
Commit
91b3449
·
1 Parent(s): 677b395
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,8 +50,8 @@ def respond(
50
  "max_tokens": 32768
51
  }
52
 
53
- print(f"[INFO] process user msg...")
54
- print(f"[INFO] userMsg: {message}")
55
 
56
  try:
57
  with requests.post(API_URL, headers=headers, json=data, stream=True) as r:
@@ -74,7 +74,7 @@ def respond(
74
  yield current_response
75
  except json.JSONDecodeError:
76
  continue
77
- print(f"[INFO] final response: {current_response}")
78
  else:
79
  print(f"[ERROR] Bad status code: {r.status_code}, response: {r.text}")
80
  yield "Service temporarily unavailable"
 
50
  "max_tokens": 32768
51
  }
52
 
53
+ # print(f"[INFO] process user msg...")
54
+ # print(f"[INFO] userMsg: {message}")
55
 
56
  try:
57
  with requests.post(API_URL, headers=headers, json=data, stream=True) as r:
 
74
  yield current_response
75
  except json.JSONDecodeError:
76
  continue
77
+ # print(f"[INFO] final response: {current_response}")
78
  else:
79
  print(f"[ERROR] Bad status code: {r.status_code}, response: {r.text}")
80
  yield "Service temporarily unavailable"