Skip to content

Commit

Permalink
fix messy code bug
Browse files Browse the repository at this point in the history
  • Loading branch information
920232796 committed Jul 27, 2023
1 parent 7d69f4d commit 90a282f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flagai/model/predictor/aquila_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def aquila_generate_by_ids_stream(
if len(next_token_list) == 0:
next_token_list.append(next_token.cpu().numpy()[0])
else:
#print(tmp)
tmp.replace("�", "")
next_token_list = []
res_list += tmp
if len(res_list) >= 10:
Expand Down

0 comments on commit 90a282f

Please sign in to comment.