yoniif commited on
Commit
5f918f3
·
verified ·
1 Parent(s): 159049b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -9
app.py CHANGED
@@ -53,15 +53,18 @@ def format_output(brand_input):
53
  """
54
  return html
55
 
56
- # Custom CSS for dark-blue, professional theme
57
  custom_css = """
58
- body { background-color: #0a1f44; color: #f0f0f0; font-family: 'Roboto', sans-serif; }
59
- #input-box textarea { background-color: #1f305b !important; color: #ffffff; border: none; border-radius: 8px; }
60
- #output-cards .card { background-color: #112857; color: #e0e0e0; border: none; border-radius: 10px; padding: 1em; margin-bottom: 1em; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }
61
- #output-cards h3 { margin-bottom: 0.3em; color: #ffd700; font-size: 1.3em; }
62
- #output-cards .platform { font-size: 0.9em; color: #cccccc; }
63
- .interface-title { color: #ffffff !important; font-size: 2em !important; }
64
- .interface-description { color: #c0c0c0 !important; }
 
 
 
65
  """
66
 
67
  # Build the Gradio interface
@@ -75,7 +78,7 @@ demo = gr.Interface(
75
  ),
76
  outputs=gr.HTML(elem_id="output-cards"),
77
  title="InfluMatch – AI-Powered Influencer Recommender",
78
- description="Enter your brand or campaign description and get three top influencer matches.",
79
  examples=[
80
  ["Skincare brand for Gen Z women in the US"],
81
  ["High-end travel gear targeting adventure enthusiasts in Europe"],
 
53
  """
54
  return html
55
 
56
+ # Custom CSS for light background with dark-blue accents
57
  custom_css = """
58
+ body { background-color: #f7f9fb; color: #1a1a1a; font-family: 'Roboto', sans-serif; }
59
+ .interface-title { color: #0a1f44 !important; font-size: 2em !important; margin-bottom: 0.2em; }
60
+ .interface-description { color: #333333 !important; margin-bottom: 1em; }
61
+ #input-box textarea { background-color: #ffffff !important; color: #1a1a1a; border: 2px solid #0a1f44; border-radius: 8px; padding: 0.5em; }
62
+ #input-box label { color: #0a1f44; font-weight: 600; }
63
+ #output-cards .card { background-color: #ffffff; color: #1a1a1a; border-left: 4px solid #0a1f44; border-radius: 8px; padding: 1em; margin-bottom: 1em; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
64
+ #output-cards h3 { margin-bottom: 0.4em; color: #0a1f44; font-size: 1.3em; }
65
+ #output-cards .platform { font-size: 0.9em; color: #555555; }
66
+ .gr-button { background-color: #0a1f44 !important; color: #ffffff !important; border-radius: 6px !important; }
67
+ .gr-button:hover { background-color: #082d6b !important; }
68
  """
69
 
70
  # Build the Gradio interface
 
78
  ),
79
  outputs=gr.HTML(elem_id="output-cards"),
80
  title="InfluMatch – AI-Powered Influencer Recommender",
81
+ description="Enter your brand or campaign description to receive three top influencer matches with niche, region, and engagement details.",
82
  examples=[
83
  ["Skincare brand for Gen Z women in the US"],
84
  ["High-end travel gear targeting adventure enthusiasts in Europe"],