Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def evaluate_leakage(system_prompt, output):
|
|
| 51 |
return f"## Leakage Probability: {probability:.4f} ✅"
|
| 52 |
|
| 53 |
# Create Gradio inputs and outputs
|
| 54 |
-
with gr.Blocks(theme=gr.themes.
|
| 55 |
gr.Markdown("# System Prompt Leakage Output Guardrail")
|
| 56 |
gr.Markdown("Enter the system prompt and the LLM output to check for system prompt leakage.")
|
| 57 |
|
|
|
|
| 51 |
return f"## Leakage Probability: {probability:.4f} ✅"
|
| 52 |
|
| 53 |
# Create Gradio inputs and outputs
|
| 54 |
+
with gr.Blocks(theme=gr.themes.Ocean()) as iface:
|
| 55 |
gr.Markdown("# System Prompt Leakage Output Guardrail")
|
| 56 |
gr.Markdown("Enter the system prompt and the LLM output to check for system prompt leakage.")
|
| 57 |
|