Sandeep120205 commited on
Commit
8c5d19a
·
verified ·
1 Parent(s): 450d342

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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="agent-shield/banner.png" style="height:60px; width:auto;" />
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"])