Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -74,22 +74,21 @@ def analyze_sentiment(sentence):
|
|
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.
|
81 |
}
|
82 |
.gradio-container h1 {
|
83 |
-
font-size:
|
84 |
}
|
85 |
.gradio-container h2, .gradio-container h3 {
|
86 |
font-size: 0.8rem !important;
|
87 |
}
|
88 |
.gradio-container .label {
|
89 |
-
font-size:
|
90 |
}
|
91 |
.gradio-container .output-markdown pre {
|
92 |
-
font-size: 0.
|
93 |
}
|
94 |
"""
|
95 |
|
|
|
74 |
return sentence, results
|
75 |
|
76 |
|
|
|
77 |
custom_css = """
|
78 |
.gradio-container, .gradio-container * {
|
79 |
+
font-size: 0.58rem !important;
|
80 |
}
|
81 |
.gradio-container h1 {
|
82 |
+
font-size: 1rem !important;
|
83 |
}
|
84 |
.gradio-container h2, .gradio-container h3 {
|
85 |
font-size: 0.8rem !important;
|
86 |
}
|
87 |
.gradio-container .label {
|
88 |
+
font-size: 0.68rem !important;
|
89 |
}
|
90 |
.gradio-container .output-markdown pre {
|
91 |
+
font-size: 0.53rem !important;
|
92 |
}
|
93 |
"""
|
94 |
|