twinkle-toes commited on
Commit
c5715a0
1 Parent(s): d028b70

zero (string)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -186,7 +186,7 @@ with gr.Blocks() as demo:
186
  gr.Markdown("Preset loaded and validated")
187
  prompt_map = {p["identifier"]: p for p in preset["prompts"]}
188
  gr.Markdown("# Preset")
189
- for order in next(o for o in preset["prompt_order"] if o["character_id"] == 0)["order"]:
190
  prompt = prompt_map[order["identifier"]]
191
  render_prompt(prompt, order["enabled"])
192
  with gr.Accordion("# All prompts"):
 
186
  gr.Markdown("Preset loaded and validated")
187
  prompt_map = {p["identifier"]: p for p in preset["prompts"]}
188
  gr.Markdown("# Preset")
189
+ for order in next(o for o in preset["prompt_order"] if o["character_id"] == "0")["order"]:
190
  prompt = prompt_map[order["identifier"]]
191
  render_prompt(prompt, order["enabled"])
192
  with gr.Accordion("# All prompts"):