twinkle-toes commited on
Commit
21f08ab
1 Parent(s): c5715a0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ def load_from_url(url):
155
  def render_prompt(prompt, enabled=True):
156
  with gr.Accordion(prompt["name"] + ("" if enabled else " (DISABLED)")):
157
  if prompt.get("marker"):
158
- gr.Markdown(f"This is a marker ({order['identifier']})")
159
  else:
160
  gr.Markdown(f"Role: {prompt['role'] or 'system'}")
161
  if "injection_position" in prompt and prompt["injection_position"] == 1 and "injection_depth" in prompt:
 
155
  def render_prompt(prompt, enabled=True):
156
  with gr.Accordion(prompt["name"] + ("" if enabled else " (DISABLED)")):
157
  if prompt.get("marker"):
158
+ gr.Markdown(f"This is a marker ({prompt['identifier']})")
159
  else:
160
  gr.Markdown(f"Role: {prompt['role'] or 'system'}")
161
  if "injection_position" in prompt and prompt["injection_position"] == 1 and "injection_depth" in prompt: