Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -74,19 +74,22 @@ def analyze_sentiment(sentence):
|
|
74 |
return sentence, results
|
75 |
|
76 |
|
77 |
-
# Define custom CSS
|
78 |
custom_css = """
|
79 |
-
.gradio-container, .gradio-container
|
80 |
-
font-size: 0.
|
81 |
}
|
82 |
.gradio-container h1 {
|
83 |
-
font-size: 0.
|
84 |
}
|
85 |
.gradio-container h2, .gradio-container h3 {
|
86 |
-
font-size: 0.
|
87 |
}
|
88 |
.gradio-container .label {
|
89 |
-
font-size: 0.
|
|
|
|
|
|
|
90 |
}
|
91 |
"""
|
92 |
|
|
|
74 |
return sentence, results
|
75 |
|
76 |
|
77 |
+
# Define custom CSS with slightly larger font size
|
78 |
custom_css = """
|
79 |
+
.gradio-container, .gradio-container * {
|
80 |
+
font-size: 0.5rem !important;
|
81 |
}
|
82 |
.gradio-container h1 {
|
83 |
+
font-size: 0.9rem !important;
|
84 |
}
|
85 |
.gradio-container h2, .gradio-container h3 {
|
86 |
+
font-size: 0.7rem !important;
|
87 |
}
|
88 |
.gradio-container .label {
|
89 |
+
font-size: 0.6rem !important;
|
90 |
+
}
|
91 |
+
.gradio-container .output-markdown pre {
|
92 |
+
font-size: 0.45rem !important;
|
93 |
}
|
94 |
"""
|
95 |
|