datasciencedojo
commited on
Commit
•
fb7313e
1
Parent(s):
7be76ca
Update app.py
Browse files
app.py
CHANGED
@@ -61,15 +61,29 @@ footer {display:none !important}
|
|
61 |
background-color: rgb(229,225,255) !important;
|
62 |
}
|
63 |
|
64 |
-
|
|
|
|
|
65 |
--tw-gradient-to: rgb(37 56 133 / 37%) !important;
|
66 |
}
|
67 |
|
68 |
-
from-orange-400 {
|
69 |
-
--tw-gradient-from: rgb(17, 20, 45)
|
70 |
-
--tw-gradient-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
|
|
73 |
"""
|
74 |
|
75 |
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)
|
|
|
61 |
background-color: rgb(229,225,255) !important;
|
62 |
}
|
63 |
|
64 |
+
|
65 |
+
|
66 |
+
.to-orange-200 {
|
67 |
--tw-gradient-to: rgb(37 56 133 / 37%) !important;
|
68 |
}
|
69 |
|
70 |
+
.from-orange-400 {
|
71 |
+
--tw-gradient-from: rgb(17, 20, 45) !important;
|
72 |
+
--tw-gradient-to: rgb(255 150 51 / 0);
|
73 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
74 |
+
}
|
75 |
+
|
76 |
+
.group-hover\:from-orange-500{
|
77 |
+
--tw-gradient-from:rgb(17, 20, 45) !important;
|
78 |
+
--tw-gradient-to: rgb(37 56 133 / 37%);
|
79 |
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
|
80 |
+
}
|
81 |
+
.group:hover .group-hover\:text-orange-500{
|
82 |
+
--tw-text-opacity: 1 !important;
|
83 |
+
color:rgb(37 56 133 / var(--tw-text-opacity)) !important;
|
84 |
}
|
85 |
|
86 |
+
|
87 |
"""
|
88 |
|
89 |
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)
|