Ashar086 commited on
Commit
6f43c04
·
verified ·
1 Parent(s): 3158b61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -14,7 +14,7 @@ def load_lottieurl(url: str):
14
  # Set page config
15
  st.set_page_config(page_title="EdgeWise Content Moderation", page_icon="🤖", layout="wide")
16
 
17
- # Custom CSS
18
  st.markdown("""
19
  <style>
20
  .main {
@@ -24,7 +24,8 @@ st.markdown("""
24
  background-color: #ffffff;
25
  }
26
  .stTextArea > div > div > textarea {
27
- background-color: #ffffff;
 
28
  }
29
  .stButton > button {
30
  background-color: #4CAF50;
@@ -66,7 +67,7 @@ for i, sentiment in enumerate(sentiments):
66
 
67
  st.write("---")
68
 
69
- # User input
70
  user_input = st.text_area("Enter text to analyze:", height=150)
71
 
72
  if st.button("Analyze Sentiment"):
 
14
  # Set page config
15
  st.set_page_config(page_title="EdgeWise Content Moderation", page_icon="🤖", layout="wide")
16
 
17
+ # Custom CSS for black background text area with white text
18
  st.markdown("""
19
  <style>
20
  .main {
 
24
  background-color: #ffffff;
25
  }
26
  .stTextArea > div > div > textarea {
27
+ background-color: #000000;
28
+ color: #ffffff;
29
  }
30
  .stButton > button {
31
  background-color: #4CAF50;
 
67
 
68
  st.write("---")
69
 
70
+ # User input with black background and white text
71
  user_input = st.text_area("Enter text to analyze:", height=150)
72
 
73
  if st.button("Analyze Sentiment"):