Upload folder using huggingface_hub
Browse files- hate_speech_demo.py +2 -2
hate_speech_demo.py
CHANGED
|
@@ -817,8 +817,8 @@ def create_gradio_app():
|
|
| 817 |
with gr.Column():
|
| 818 |
# Buttons (stacked or spaced however you like)
|
| 819 |
with gr.Row():
|
| 820 |
-
random_test_btn = gr.Button("Random Test Case", elem_classes=["orange-button"])
|
| 821 |
-
rate_btn = gr.Button("Rate Content", elem_classes=["gray-button"])
|
| 822 |
|
| 823 |
# Input box
|
| 824 |
user_input = gr.Textbox(
|
|
|
|
| 817 |
with gr.Column():
|
| 818 |
# Buttons (stacked or spaced however you like)
|
| 819 |
with gr.Row():
|
| 820 |
+
random_test_btn = gr.Button("Random Test Case", variant="secondary", elem_classes=["orange-button"])
|
| 821 |
+
rate_btn = gr.Button("Rate Content", variant="secondary", elem_classes=["gray-button"])
|
| 822 |
|
| 823 |
# Input box
|
| 824 |
user_input = gr.Textbox(
|