Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,10 +76,9 @@ with gr.Blocks(css=css, title="Agent Shield") as demo:
|
|
| 76 |
gr.Markdown(
|
| 77 |
"""
|
| 78 |
<div style="text-align:center; padding: 16px 0 8px 0;">
|
| 79 |
-
<img src="
|
| 80 |
</div>
|
| 81 |
"""
|
| 82 |
-
|
| 83 |
)
|
| 84 |
gr.Interface(
|
| 85 |
fn=check_prompt,
|
|
@@ -92,7 +91,6 @@ with gr.Blocks(css=css, title="Agent Shield") as demo:
|
|
| 92 |
label="OUTPUT",
|
| 93 |
lines=5
|
| 94 |
),
|
| 95 |
-
description="[ L1:vigil ] [ L2:distilbert-onnx 99.42% ] [ L3:rules ]",
|
| 96 |
)
|
| 97 |
|
| 98 |
-
demo.launch()
|
|
|
|
| 76 |
gr.Markdown(
|
| 77 |
"""
|
| 78 |
<div style="text-align:center; padding: 16px 0 8px 0;">
|
| 79 |
+
<img src="/file=banner.png" style="height:60px; width:auto;" />
|
| 80 |
</div>
|
| 81 |
"""
|
|
|
|
| 82 |
)
|
| 83 |
gr.Interface(
|
| 84 |
fn=check_prompt,
|
|
|
|
| 91 |
label="OUTPUT",
|
| 92 |
lines=5
|
| 93 |
),
|
|
|
|
| 94 |
)
|
| 95 |
|
| 96 |
+
demo.launch(allowed_paths=["banner.png"])
|