Spaces:
Sleeping
Sleeping
Commit
·
947f541
1
Parent(s):
8c5aa09
Update app.py
Browse filesupdate labels style
app.py
CHANGED
|
@@ -60,6 +60,28 @@ footer {display:none !important}
|
|
| 60 |
background-color: rgb(229,225,255) !important;
|
| 61 |
}
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
"""
|
| 64 |
|
| 65 |
demo = gr.Interface(fn=detect_emotions, inputs=gr.Textbox(placeholder="Enter text here", label="Input"), outputs=gr.Label(label="Emotion"), title="Emotion Detector | Datascience Dojo", examples=examples, css=css)
|
|
|
|
| 60 |
background-color: rgb(229,225,255) !important;
|
| 61 |
}
|
| 62 |
|
| 63 |
+
.to-orange-200 {
|
| 64 |
+
--tw-gradient-to: rgb(37 56 133 / 37%) !important;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.from-orange-400 {
|
| 68 |
+
--tw-gradient-from: rgb(17, 20, 45) !important;
|
| 69 |
+
--tw-gradient-to: rgb(255 150 51 / 0);
|
| 70 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.group-hover\:from-orange-500{
|
| 74 |
+
--tw-gradient-from:rgb(17, 20, 45) !important;
|
| 75 |
+
--tw-gradient-to: rgb(37 56 133 / 37%);
|
| 76 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.group:hover .group-hover\:text-orange-500{
|
| 80 |
+
--tw-text-opacity: 1 !important;
|
| 81 |
+
color:rgb(37 56 133 / var(--tw-text-opacity)) !important;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
|
| 85 |
"""
|
| 86 |
|
| 87 |
demo = gr.Interface(fn=detect_emotions, inputs=gr.Textbox(placeholder="Enter text here", label="Input"), outputs=gr.Label(label="Emotion"), title="Emotion Detector | Datascience Dojo", examples=examples, css=css)
|