datasciencedojo
commited on
Commit
•
e3a0648
1
Parent(s):
61d26d3
Update app.py
Browse filesupdate labels style
app.py
CHANGED
@@ -60,6 +60,27 @@ footer {display:none !important}
|
|
60 |
--tw-bg-opacity: 1 !important;
|
61 |
background-color: rgb(229,225,255) !important;
|
62 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
"""
|
64 |
|
65 |
demo = gr.Interface(fn=zeroShotClassification, inputs=[gr.Textbox(label="Input"), gr.Textbox(label="Candidate Labels")], outputs=gr.Label(label="Classification"), title="Zero Shot Text Classification | Datascience Dojo", examples=examples, css=css)
|
|
|
60 |
--tw-bg-opacity: 1 !important;
|
61 |
background-color: rgb(229,225,255) !important;
|
62 |
}
|
63 |
+
|
64 |
+
to-orange-200 {
|
65 |
+
--tw-gradient-to: rgb(37 56 133 / 37%) !important;
|
66 |
+
}
|
67 |
+
|
68 |
+
from-orange-400 {
|
69 |
+
--tw-gradient-from: rgb(17, 20, 45) !important;
|
70 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
71 |
+
}
|
72 |
+
|
73 |
+
.group:hover .group-hover\:border-orange-400 {
|
74 |
+
--tw-border-opacity: 1;
|
75 |
+
border-color: rgb(37 56 133 / var(--tw-border-opacity));
|
76 |
+
}
|
77 |
+
|
78 |
+
.group:hover .group-hover\:from-orange-500 {
|
79 |
+
--tw-gradient-from: rgb(17, 20, 45) !important;
|
80 |
+
--tw-gradient-to: rgb(37 56 133 / 0) !important;
|
81 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
82 |
+
}
|
83 |
+
|
84 |
"""
|
85 |
|
86 |
demo = gr.Interface(fn=zeroShotClassification, inputs=[gr.Textbox(label="Input"), gr.Textbox(label="Candidate Labels")], outputs=gr.Label(label="Classification"), title="Zero Shot Text Classification | Datascience Dojo", examples=examples, css=css)
|