Hotfix for Google Colab generator call failing if when called from a fresh prompt.
This commit is contained in:
parent
3c0638bc73
commit
c9b6f89d1d
|
@ -574,7 +574,10 @@ def calcsubmit(txt):
|
|||
subtxt = vars.memory + winfo + anotetxt + vars.prompt
|
||||
lnsub = lnmem + lnwi + lnprompt + lnanote
|
||||
|
||||
generate(subtxt, lnsub+1, lnsub+vars.genamt)
|
||||
if(vars.model != "Colab"):
|
||||
generate(subtxt, lnsub+1, lnsub+vars.genamt)
|
||||
else:
|
||||
sendtocolab(subtxt, lnsub+1, lnsub+vars.genamt)
|
||||
else:
|
||||
tokens = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue