sumonta056 commited on
Commit
af6ed2b
·
2 Parent(s): 0ebdcd8 19aa539

add: new interface look

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -46,19 +46,18 @@ st.markdown("""
46
  font-family: 'Segoe UI', sans-serif;
47
  }
48
  .stButton button {
49
- background-color: #2575fc;
50
  color: white;
51
  border-radius: 8px;
52
  font-size: 16px;
53
  font-weight: bold;
54
  }
55
  .stTextArea textarea {
56
- background: #f5f5f5;
57
  border-radius: 8px;
58
  }
59
  footer {
60
  font-size: 14px;
61
  text-align: center;
 
62
  }
63
  footer a {
64
  color: #2575fc;
@@ -69,8 +68,10 @@ st.markdown("""
69
 
70
  # Title and description
71
  st.title("🌟 G-Bert: Emotion Analysis")
72
- st.write("Analyze the emotion behind your text with **G-Bert**, powered by Hugging Face transformers.")
73
-
 
 
74
  # Text input
75
  st.write("Enter some text below, and G-Bert will analyze its emotion for you!")
76
  text = st.text_area("Input Text", height=150, placeholder="Type your text here...")
@@ -95,8 +96,7 @@ st.markdown("---")
95
  st.markdown("""
96
  <footer>
97
  Built with ❤️ by
98
- <a href="https://github.com/sumonta-saha" target="_blank">Sumonta Saha</a>,
99
- <a href="https://github.com/mridul-pk" target="_blank">Mridul</a>, and
100
- <a href="https://github.com/promi-mojumder" target="_blank">Promi Mojumder</a>.
101
  </footer>
102
  """, unsafe_allow_html=True)
 
46
  font-family: 'Segoe UI', sans-serif;
47
  }
48
  .stButton button {
 
49
  color: white;
50
  border-radius: 8px;
51
  font-size: 16px;
52
  font-weight: bold;
53
  }
54
  .stTextArea textarea {
 
55
  border-radius: 8px;
56
  }
57
  footer {
58
  font-size: 14px;
59
  text-align: center;
60
+ padding: 10px;
61
  }
62
  footer a {
63
  color: #2575fc;
 
68
 
69
  # Title and description
70
  st.title("🌟 G-Bert: Emotion Analysis")
71
+ st.markdown("""
72
+ G-Bert is a bangla sentiment analysis tool that uses a pre-trained BERT model to analyze the emotion of any bengali or religious (gita) text.
73
+ It can detect emotions like Anger, Astonished, Optimistic, and Sadness with a confidence score.
74
+ """)
75
  # Text input
76
  st.write("Enter some text below, and G-Bert will analyze its emotion for you!")
77
  text = st.text_area("Input Text", height=150, placeholder="Type your text here...")
 
96
  st.markdown("""
97
  <footer>
98
  Built with ❤️ by
99
+ <a href="https://github.com/sumonta056" target="_blank">Sumonta Saha Mridul</a>,
100
+ <a href="https://github.com/promimojumder08" target="_blank">Promi Mojumder</a>.
 
101
  </footer>
102
  """, unsafe_allow_html=True)