Yacine Jernite
commited on
Commit
·
338aa78
1
Parent(s):
9c2c50e
policy
Browse files- ui/tab_policy.py +2 -1
ui/tab_policy.py
CHANGED
|
@@ -37,7 +37,8 @@ def build_policy_tab(base_dir: str) -> dict:
|
|
| 37 |
placeholder="Enter or edit policy markdown...",
|
| 38 |
lines=20
|
| 39 |
)
|
| 40 |
-
|
|
|
|
| 41 |
|
| 42 |
# Clear button
|
| 43 |
clear_policy_btn = gr.Button("Clear Policy", variant="secondary")
|
|
|
|
| 37 |
placeholder="Enter or edit policy markdown...",
|
| 38 |
lines=20
|
| 39 |
)
|
| 40 |
+
|
| 41 |
+
policy_preview = gr.Markdown(value="*No policy loaded*")
|
| 42 |
|
| 43 |
# Clear button
|
| 44 |
clear_policy_btn = gr.Button("Clear Policy", variant="secondary")
|