Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,13 +74,19 @@ def analyze_sentiment(sentence):
|
|
| 74 |
return sentence, results
|
| 75 |
|
| 76 |
|
| 77 |
-
# Define custom CSS to reduce font size
|
| 78 |
custom_css = """
|
| 79 |
-
.gradio-container {
|
| 80 |
-
font-size: 0.
|
| 81 |
}
|
| 82 |
-
.gradio-container
|
| 83 |
-
font-size: 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
"""
|
| 86 |
|
|
|
|
| 74 |
return sentence, results
|
| 75 |
|
| 76 |
|
| 77 |
+
# Define custom CSS to reduce font size even further
|
| 78 |
custom_css = """
|
| 79 |
+
.gradio-container, .gradio-container *, .output-markdown, .input-markdown {
|
| 80 |
+
font-size: 0.4rem !important;
|
| 81 |
}
|
| 82 |
+
.gradio-container h1 {
|
| 83 |
+
font-size: 0.8rem !important;
|
| 84 |
+
}
|
| 85 |
+
.gradio-container h2, .gradio-container h3 {
|
| 86 |
+
font-size: 0.6rem !important;
|
| 87 |
+
}
|
| 88 |
+
.gradio-container .label {
|
| 89 |
+
font-size: 0.5rem !important;
|
| 90 |
}
|
| 91 |
"""
|
| 92 |
|