JohnSmith9982 commited on
Commit
505aae2
1 Parent(s): b586175

Update chat_func.py

Browse files
Files changed (1) hide show
  1. chat_func.py +1 -1
chat_func.py CHANGED
@@ -153,7 +153,7 @@ def stream_predict(
153
  yield get_return_value()
154
  error_json_str = ""
155
 
156
- for chunk in tqdm(response.iter_lines()):
157
  if counter == 0:
158
  counter += 1
159
  continue
153
  yield get_return_value()
154
  error_json_str = ""
155
 
156
+ for chunk in response.iter_lines():
157
  if counter == 0:
158
  counter += 1
159
  continue