Rahatara commited on
Commit
0d84893
·
verified ·
1 Parent(s): e720417

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,7 +47,7 @@ def analyze_text(text):
47
 
48
  # Custom CSS for branding and animation
49
  css = """
50
- body { font-family: 'Arial', sans-serif; background-color: #E8F0FE; }
51
  h1 { color: #333; animation: fadeIn 2s; }
52
  @keyframes fadeIn {
53
  from { opacity: 0; }
@@ -78,8 +78,8 @@ example_scenarios = [
78
  # Gradio interface setup
79
  with gr.Blocks(css=css) as app:
80
  gr.Markdown("<div id='logo'>J<span>ustEva</span></div>")
81
- gr.Markdown("<h1 style='text-align: center; color: #5f4b8b;'>Gender Bias Analysis Platform</h1>")
82
- gr.Markdown("<p style='text-align: center; font-size: 16px; color: #4a4a4a;'>Powered by AI to advocate against gender-based violence</p>")
83
  with gr.Tab("Text Analysis"):
84
  text_input = gr.Textbox(label="Enter Text or Select an Example", placeholder="Type here or select an example...", lines=4)
85
  analyze_text_btn = gr.Button("Analyze Text")
 
47
 
48
  # Custom CSS for branding and animation
49
  css = """
50
+ body { font-family: 'Arial', sans-serif; background-color: #DAB1DA; }
51
  h1 { color: #333; animation: fadeIn 2s; }
52
  @keyframes fadeIn {
53
  from { opacity: 0; }
 
78
  # Gradio interface setup
79
  with gr.Blocks(css=css) as app:
80
  gr.Markdown("<div id='logo'>J<span>ustEva</span></div>")
81
+ gr.Markdown("<h1 style='text-align: center; color: #5f4b8b;'>Analyze Gender-based Discrimination in Communication</h1>")
82
+ gr.Markdown("<p style='text-align: center; font-size: 16px; color: #4a4a4a;'>Powered by Gemini to advocate against gender-based violence</p>")
83
  with gr.Tab("Text Analysis"):
84
  text_input = gr.Textbox(label="Enter Text or Select an Example", placeholder="Type here or select an example...", lines=4)
85
  analyze_text_btn = gr.Button("Analyze Text")