Commit
·
f5de426
1
Parent(s):
c72a9a0
add background
Browse files
app.py
CHANGED
@@ -201,6 +201,32 @@ def analyze_youtube_video(video_url_or_id: str):
|
|
201 |
# Page configuration: Set to centered layout (default) instead of "wide"
|
202 |
st.set_page_config(page_title="Social Sentiment Analysis", layout="centered")
|
203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
st.title("📊 SOCIAL SENTIMENT ANALYSIS")
|
205 |
# A little description for the user
|
206 |
st.write(
|
|
|
201 |
# Page configuration: Set to centered layout (default) instead of "wide"
|
202 |
st.set_page_config(page_title="Social Sentiment Analysis", layout="centered")
|
203 |
|
204 |
+
st.markdown(
|
205 |
+
"""
|
206 |
+
<style>
|
207 |
+
.stApp {
|
208 |
+
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
|
209 |
+
color: white;
|
210 |
+
}
|
211 |
+
|
212 |
+
/* Tùy chỉnh text và component */
|
213 |
+
.stTextInput > div > div > input,
|
214 |
+
.stTextArea textarea,
|
215 |
+
.stButton>button,
|
216 |
+
.stSelectbox>div>div {
|
217 |
+
background-color: #1e1e1e;
|
218 |
+
color: white;
|
219 |
+
}
|
220 |
+
|
221 |
+
.stButton>button:hover {
|
222 |
+
background-color: #333333;
|
223 |
+
color: white;
|
224 |
+
}
|
225 |
+
</style>
|
226 |
+
""",
|
227 |
+
unsafe_allow_html=True,
|
228 |
+
)
|
229 |
+
|
230 |
st.title("📊 SOCIAL SENTIMENT ANALYSIS")
|
231 |
# A little description for the user
|
232 |
st.write(
|