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 26, 2023
1 parent c006db0 commit b41f15b
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 @@ -89,7 +89,7 @@ def aquila_generate_by_ids_stream(
if any('�' != c for c in tmp):

next_token_list = []
res_list += tmp
res_list += tmp.replace("�", "")
if len(res_list) >= 10:
print(res_list)
yield res_list
Expand Down

0 comments on commit b41f15b

Please sign in to comment.