feat: do not extend main prompt when enhance prompt is provided

reduces prompt consistency with input but greatly improves prompt accuracy
This commit is contained in:
Manuel Schmid
2024-06-22 00:14:32 +02:00
parent ec533f0c42
commit 18d294de63
-1
View File
@@ -945,7 +945,6 @@ def worker():
else:
if translate:
prompt = translate2en(prompt, prompt_type)
prompt = prompt + '\n' + fallback_prompt
return prompt
def stop_processing(async_task, processing_start_time):