mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-08 09:40:12 +01:00
Revert "Attempt at solving the ExLlamaV2 issue"
This reverts commit c9b3c9dfbf.
This commit is contained in:
parent
5dfab7d363
commit
ce9e2d94b1
|
|
@ -447,7 +447,7 @@ def generate_reply_HF(question, original_question, seed, state, stopping_strings
|
|||
|
||||
new_content = get_reply_from_output_ids(output, state, starting_from=starting_from)
|
||||
# check the partial unicode character
|
||||
if new_content.endswith(chr(0xfffd)):
|
||||
if chr(0xfffd) in new_content:
|
||||
continue
|
||||
|
||||
cumulative_reply += new_content
|
||||
|
|
|
|||
Loading…
Reference in a new issue