Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -3
src/streamlit_app.py
CHANGED
|
@@ -7,7 +7,7 @@ from normalizer import normalize
|
|
| 7 |
import torch.nn as nn
|
| 8 |
from transformers import AutoModel
|
| 9 |
|
| 10 |
-
st.set_page_config(page_title="Political Sentiment",
|
| 11 |
|
| 12 |
class BanglaPoliticalNet(nn.Module):
|
| 13 |
def __init__(self, num_classes=5):
|
|
@@ -301,8 +301,7 @@ st.markdown("""
|
|
| 301 |
margin-bottom: 30px;
|
| 302 |
backdrop-filter: blur(20px);
|
| 303 |
'>
|
| 304 |
-
<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;'
|
| 305 |
-
<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>
|
| 306 |
</div>
|
| 307 |
""", unsafe_allow_html=True)
|
| 308 |
|
|
|
|
| 7 |
import torch.nn as nn
|
| 8 |
from transformers import AutoModel
|
| 9 |
|
| 10 |
+
st.set_page_config(page_title="Political Sentiment", layout="wide")
|
| 11 |
|
| 12 |
class BanglaPoliticalNet(nn.Module):
|
| 13 |
def __init__(self, num_classes=5):
|
|
|
|
| 301 |
margin-bottom: 30px;
|
| 302 |
backdrop-filter: blur(20px);
|
| 303 |
'>
|
| 304 |
+
<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>
|
|
|
|
| 305 |
</div>
|
| 306 |
""", unsafe_allow_html=True)
|
| 307 |
|