Spaces:
Running
Running
Reset colors to default
Browse files
app.py
CHANGED
|
@@ -191,36 +191,16 @@ with gr.Blocks(
|
|
| 191 |
max-width: 900px;
|
| 192 |
margin: auto;
|
| 193 |
padding: 20px;
|
| 194 |
-
background-color: #1e1e1e; /* Dark background for contrast */
|
| 195 |
-
color: white; /* White text throughout */
|
| 196 |
}
|
| 197 |
h1 {
|
| 198 |
text-align: center;
|
| 199 |
font-size: 2.5rem;
|
| 200 |
-
color: white; /* White text for title */
|
| 201 |
}
|
| 202 |
footer {
|
| 203 |
text-align: center;
|
| 204 |
margin-top: 20px;
|
| 205 |
font-size: 14px;
|
| 206 |
-
color:
|
| 207 |
-
}
|
| 208 |
-
.gr-button {
|
| 209 |
-
background-color: #4a4a4a; /* Dark gray button background */
|
| 210 |
-
color: white; /* White button text */
|
| 211 |
-
border-radius: 8px; /* Rounded buttons */
|
| 212 |
-
padding: 10px 20px;
|
| 213 |
-
font-weight: bold;
|
| 214 |
-
transition: background-color 0.3s ease;
|
| 215 |
-
}
|
| 216 |
-
.gr-button:hover {
|
| 217 |
-
background-color: #6a6a6a; /* Slightly lighter gray on hover */
|
| 218 |
-
}
|
| 219 |
-
.gr-textbox, .gr-dropdown, .gr-output {
|
| 220 |
-
border: 1px solid #4a4a4a; /* Subtle gray border */
|
| 221 |
-
border-radius: 8px; /* Rounded edges */
|
| 222 |
-
background-color: #2e2e2e; /* Darker gray input background */
|
| 223 |
-
color: white; /* White text for inputs/outputs */
|
| 224 |
}
|
| 225 |
"""
|
| 226 |
) as demo:
|
|
@@ -302,9 +282,9 @@ with gr.Blocks(
|
|
| 302 |
<footer>
|
| 303 |
This demo was built as a part of the NLP course at the University of Zagreb.
|
| 304 |
Check out our GitHub repository:
|
| 305 |
-
<a href="https://github.com/FFZG-NLP-2024/TripAdvisor-Sentiment/" target="_blank"
|
| 306 |
Explore our HuggingFace collection:
|
| 307 |
-
<a href="https://huggingface.co/collections/nhull/nlp-zg-6794604b85fd4216e6470d38" target="_blank"
|
| 308 |
</footer>
|
| 309 |
"""
|
| 310 |
)
|
|
|
|
| 191 |
max-width: 900px;
|
| 192 |
margin: auto;
|
| 193 |
padding: 20px;
|
|
|
|
|
|
|
| 194 |
}
|
| 195 |
h1 {
|
| 196 |
text-align: center;
|
| 197 |
font-size: 2.5rem;
|
|
|
|
| 198 |
}
|
| 199 |
footer {
|
| 200 |
text-align: center;
|
| 201 |
margin-top: 20px;
|
| 202 |
font-size: 14px;
|
| 203 |
+
color: gray;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
}
|
| 205 |
"""
|
| 206 |
) as demo:
|
|
|
|
| 282 |
<footer>
|
| 283 |
This demo was built as a part of the NLP course at the University of Zagreb.
|
| 284 |
Check out our GitHub repository:
|
| 285 |
+
<a href="https://github.com/FFZG-NLP-2024/TripAdvisor-Sentiment/" target="_blank">TripAdvisor Sentiment Analysis</a>
|
| 286 |
Explore our HuggingFace collection:
|
| 287 |
+
<a href="https://huggingface.co/collections/nhull/nlp-zg-6794604b85fd4216e6470d38" target="_blank">NLP Zagreb HuggingFace Collection</a>
|
| 288 |
</footer>
|
| 289 |
"""
|
| 290 |
)
|