Spaces:
Running
Running
Commit
•
21f08ab
1
Parent(s):
c5715a0
oops
Browse files
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 ({
|
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:
|