mirror of
				https://github.com/KoboldAI/KoboldAI-Client.git
				synced 2025-06-05 21:59:24 +02:00 
			
		
		
		
	Hotfix for Google Colab generator call failing if when called from a fresh prompt.
This commit is contained in:
		| @@ -574,7 +574,10 @@ def calcsubmit(txt): | |||||||
|             subtxt = vars.memory + winfo + anotetxt + vars.prompt |             subtxt = vars.memory + winfo + anotetxt + vars.prompt | ||||||
|             lnsub  = lnmem + lnwi + lnprompt + lnanote |             lnsub  = lnmem + lnwi + lnprompt + lnanote | ||||||
|              |              | ||||||
|  |             if(vars.model != "Colab"): | ||||||
|                 generate(subtxt, lnsub+1, lnsub+vars.genamt) |                 generate(subtxt, lnsub+1, lnsub+vars.genamt) | ||||||
|  |             else: | ||||||
|  |                 sendtocolab(subtxt, lnsub+1, lnsub+vars.genamt) | ||||||
|         else: |         else: | ||||||
|             tokens     = [] |             tokens     = [] | ||||||
|              |              | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user