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
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 0 additions and 1 deletions

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):