Upload folder using huggingface_hub
Browse files- hate_speech_demo.py +0 -15
hate_speech_demo.py
CHANGED
|
@@ -674,21 +674,6 @@ def create_gradio_app():
|
|
| 674 |
font-weight: bold;
|
| 675 |
}
|
| 676 |
|
| 677 |
-
/* Custom gray button style */
|
| 678 |
-
.gray-button {
|
| 679 |
-
background: #4285F4 !important;
|
| 680 |
-
color: #000000 !important;
|
| 681 |
-
font-weight: bold;
|
| 682 |
-
border-radius: 5px;
|
| 683 |
-
padding: 10px 15px;
|
| 684 |
-
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
| 685 |
-
transition: all 0.3s ease;
|
| 686 |
-
font-family: 'All Round Gothic Demi', 'Poppins', sans-serif !important;
|
| 687 |
-
}
|
| 688 |
-
.gray-button:hover {
|
| 689 |
-
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
| 690 |
-
transform: translateY(-2px);
|
| 691 |
-
}
|
| 692 |
"""
|
| 693 |
|
| 694 |
with gr.Blocks(title="Hate Speech Rating Oracle", theme=theme, css=custom_css) as app:
|
|
|
|
| 674 |
font-weight: bold;
|
| 675 |
}
|
| 676 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 677 |
"""
|
| 678 |
|
| 679 |
with gr.Blocks(title="Hate Speech Rating Oracle", theme=theme, css=custom_css) as app:
|