Use the correct generation min and max when using soft prompt
This commit is contained in:
parent
511817132a
commit
24d5d63c9f
|
@ -1189,7 +1189,7 @@ def calcsubmit(txt):
|
|||
if(actionlen == 0):
|
||||
# First/Prompt action
|
||||
subtxt = vars.memory + winfo + anotetxt + vars.prompt
|
||||
lnsub = lnmem + lnwi + lnprompt + lnanote
|
||||
lnsub = lnsp + lnmem + lnwi + lnprompt + lnanote
|
||||
|
||||
if(not vars.model in ["Colab", "OAI"]):
|
||||
generate(subtxt, lnsub+1, lnsub+vars.genamt)
|
||||
|
|
Loading…
Reference in New Issue