Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -301,7 +301,7 @@ st.markdown("""
|
|
| 301 |
backdrop-filter: blur(20px);
|
| 302 |
'>
|
| 303 |
<h1 style='font-size: 3.5rem; margin: 0; background: linear-gradient(45deg, #ffffff, #e2e8f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800;'>🇧🇩 Political Sentiment Analysis</h1>
|
| 304 |
-
<p style='font-size: 1.3rem; color: rgba(255,255,255,0.95); margin: 10px 0 0 0; font-weight: 500;'>
|
| 305 |
</div>
|
| 306 |
""", unsafe_allow_html=True)
|
| 307 |
|
|
@@ -323,7 +323,7 @@ with col2:
|
|
| 323 |
analyze_btn = st.button("ANALYZE SENTIMENT", type="primary", use_container_width=True)
|
| 324 |
|
| 325 |
if analyze_btn and user_input.strip():
|
| 326 |
-
with st.spinner('Processing with
|
| 327 |
if mode == "Single Model":
|
| 328 |
model_name = model_options[selected_model]
|
| 329 |
final_res, probs = predict_single_model(user_input, model_name)
|
|
|
|
| 301 |
backdrop-filter: blur(20px);
|
| 302 |
'>
|
| 303 |
<h1 style='font-size: 3.5rem; margin: 0; background: linear-gradient(45deg, #ffffff, #e2e8f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800;'>🇧🇩 Political Sentiment Analysis</h1>
|
| 304 |
+
<p style='font-size: 1.3rem; color: rgba(255,255,255,0.95); margin: 10px 0 0 0; font-weight: 500;'>Bengali Political Text Sentiment Analysis</p>
|
| 305 |
</div>
|
| 306 |
""", unsafe_allow_html=True)
|
| 307 |
|
|
|
|
| 323 |
analyze_btn = st.button("ANALYZE SENTIMENT", type="primary", use_container_width=True)
|
| 324 |
|
| 325 |
if analyze_btn and user_input.strip():
|
| 326 |
+
with st.spinner('Processing with models...'):
|
| 327 |
if mode == "Single Model":
|
| 328 |
model_name = model_options[selected_model]
|
| 329 |
final_res, probs = predict_single_model(user_input, model_name)
|