K00B404 commited on
Commit
0808b49
·
verified ·
1 Parent(s): 6f24840

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -172,7 +172,7 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
172
 
173
  original_prompt = prompt
174
  if enhance_prompt_option:
175
- prompt = enhance_prompt_v2(prompt, style=enhance_prompt_style)
176
  print(f'\033[1mGeneration {key} enhanced prompt:\033[0m {prompt}')
177
  if use_mistral_nemo:
178
  prompt = mistral_nemo_call(prompt, API_TOKEN=API_TOKEN, style=nemo_enhance_prompt_style)
 
172
 
173
  original_prompt = prompt
174
  if enhance_prompt_option:
175
+ prompt = mistral_nemo_call(prompt, style=enhance_prompt_style)
176
  print(f'\033[1mGeneration {key} enhanced prompt:\033[0m {prompt}')
177
  if use_mistral_nemo:
178
  prompt = mistral_nemo_call(prompt, API_TOKEN=API_TOKEN, style=nemo_enhance_prompt_style)