nazneen commited on
Commit
865ce35
·
verified ·
1 Parent(s): 69946d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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;'>Safety Classifier</h1>")
119
  gr.Markdown(
120
  """
121
  <p style='text-align: center;'>
122
- Classify a conversation's safety by providing a conversation prefix (array of objects)
123
- and an assistant's response.
124
  </p>
125
  """
126
  )
@@ -135,9 +135,9 @@ with gr.Blocks() as demo:
135
  )
136
 
137
  sample_convos = gr.Dropdown(
138
- ["sample_1", "sample_2", "sample_3", "sample_4", "sample_5"],
139
  label="Select Sample Convo",
140
- value='sample_1'
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