Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,12 +115,12 @@ import gradio as gr
|
|
115 |
|
116 |
with gr.Blocks() as demo:
|
117 |
# Header section with larger, centered title
|
118 |
-
gr.Markdown("<h1 style='text-align: center;'>
|
119 |
gr.Markdown(
|
120 |
"""
|
121 |
<p style='text-align: center;'>
|
122 |
-
|
123 |
-
|
124 |
</p>
|
125 |
"""
|
126 |
)
|
@@ -135,9 +135,9 @@ with gr.Blocks() as demo:
|
|
135 |
)
|
136 |
|
137 |
sample_convos = gr.Dropdown(
|
138 |
-
["
|
139 |
label="Select Sample Convo",
|
140 |
-
value='
|
141 |
)
|
142 |
|
143 |
# Conversation Prefix and Assistant Response in a column
|
|
|
115 |
|
116 |
with gr.Blocks() as demo:
|
117 |
# Header section with larger, centered title
|
118 |
+
gr.Markdown("<h1 style='text-align: center;'>Collinear Guard Nano</h1>")
|
119 |
gr.Markdown(
|
120 |
"""
|
121 |
<p style='text-align: center;'>
|
122 |
+
Test Collinear guard nano using the sample conversations below or type your own.
|
123 |
+
Collinear guard nano supports 3 types of safety tasks -- prompt classification, response classification, and refusal classification.
|
124 |
</p>
|
125 |
"""
|
126 |
)
|
|
|
135 |
)
|
136 |
|
137 |
sample_convos = gr.Dropdown(
|
138 |
+
["conv_1", "conv_2", "conv_3", "conv_4", "conv_5"],
|
139 |
label="Select Sample Convo",
|
140 |
+
value='conv_1'
|
141 |
)
|
142 |
|
143 |
# Conversation Prefix and Assistant Response in a column
|