gabrielchua
commited on
Commit
•
a07b760
1
Parent(s):
473fd2e
Update app.py
Browse files
app.py
CHANGED
@@ -134,12 +134,12 @@ iface = gr.Interface(
|
|
134 |
fn=moderate_text,
|
135 |
inputs=gr.Textbox(lines=5, label="Enter Text for Moderation"),
|
136 |
outputs=[
|
137 |
-
gr.Textbox(label="
|
138 |
gr.Textbox(label="OpenAI Omni Moderation Result"),
|
139 |
-
gr.Textbox(label="
|
140 |
],
|
141 |
title="Content Moderation Model Comparison",
|
142 |
-
description="Compare the performance of 3 content moderation models:
|
143 |
)
|
144 |
|
145 |
if __name__ == "__main__":
|
|
|
134 |
fn=moderate_text,
|
135 |
inputs=gr.Textbox(lines=5, label="Enter Text for Moderation"),
|
136 |
outputs=[
|
137 |
+
gr.Textbox(label="LlamaGuard Result"),
|
138 |
gr.Textbox(label="OpenAI Omni Moderation Result"),
|
139 |
+
gr.Textbox(label="LionGuard Result"),
|
140 |
],
|
141 |
title="Content Moderation Model Comparison",
|
142 |
+
description="Compare the performance of 3 content moderation models: LlamaGuard, OpenAI Omni Moderation, and LionGuard."
|
143 |
)
|
144 |
|
145 |
if __name__ == "__main__":
|