Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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)
|