zetavg commited on
Commit
414c86a
·
unverified ·
1 Parent(s): bd922de
Files changed (1) hide show
  1. llama_lora/ui/inference_ui.py +1 -1
llama_lora/ui/inference_ui.py CHANGED
@@ -256,7 +256,7 @@ def handle_prompt_template_change(prompt_template, lora_model):
256
  model_prompt_template = lora_mode_info.get("prompt_template")
257
  if model_prompt_template and model_prompt_template != prompt_template:
258
  model_prompt_template_message_update = gr.Markdown.update(
259
- f"Trained with prompt template `{model_prompt_template}`", visible=True)
260
 
261
  return [model_prompt_template_message_update] + gr_updates
262
 
 
256
  model_prompt_template = lora_mode_info.get("prompt_template")
257
  if model_prompt_template and model_prompt_template != prompt_template:
258
  model_prompt_template_message_update = gr.Markdown.update(
259
+ f"This model was trained with prompt template `{model_prompt_template}`.", visible=True)
260
 
261
  return [model_prompt_template_message_update] + gr_updates
262