Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,15 +53,18 @@ def format_output(brand_input):
|
|
| 53 |
"""
|
| 54 |
return html
|
| 55 |
|
| 56 |
-
# Custom CSS for dark-blue
|
| 57 |
custom_css = """
|
| 58 |
-
body { background-color: #
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
#
|
| 62 |
-
#
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
| 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
|
| 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"],
|