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:
parent
ec533f0c42
commit
18d294de63
|
|
@ -945,7 +945,6 @@ def worker():
|
||||||
else:
|
else:
|
||||||
if translate:
|
if translate:
|
||||||
prompt = translate2en(prompt, prompt_type)
|
prompt = translate2en(prompt, prompt_type)
|
||||||
prompt = prompt + '\n' + fallback_prompt
|
|
||||||
return prompt
|
return prompt
|
||||||
|
|
||||||
def stop_processing(async_task, processing_start_time):
|
def stop_processing(async_task, processing_start_time):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue