JohnSmith9982 commited on
Commit
eb029ca
1 Parent(s): b6fb8c4

Update modules/chat_func.py

Browse files
Files changed (1) hide show
  1. modules/chat_func.py +1 -1
modules/chat_func.py CHANGED
@@ -146,7 +146,7 @@ def stream_predict(
146
 
147
  if fake_input is not None:
148
  history[-2] = construct_user(fake_input)
149
- for chunk in tqdm(response.iter_lines()):
150
  if counter == 0:
151
  counter += 1
152
  continue
 
146
 
147
  if fake_input is not None:
148
  history[-2] = construct_user(fake_input)
149
+ for chunk in response.iter_lines():
150
  if counter == 0:
151
  counter += 1
152
  continue