mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 09:19:23 +01:00
addition to skip output modifier if ppl_logits_processor == None so new chat can be created when no model loaded
This commit is contained in:
parent
c61e012d21
commit
fcd72afe56
@ -95,7 +95,7 @@ def output_modifier(text):
|
|||||||
global ppl_logits_processor
|
global ppl_logits_processor
|
||||||
# t0 = time.time()
|
# t0 = time.time()
|
||||||
|
|
||||||
if not params['active']:
|
if not params['active'] or ppl_logits_processor == None:
|
||||||
return text
|
return text
|
||||||
|
|
||||||
# TODO: It's probably more efficient to do this above rather than modifying all these lists
|
# TODO: It's probably more efficient to do this above rather than modifying all these lists
|
||||||
|
Loading…
Reference in New Issue
Block a user