Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,35 @@ logo_html = """
|
|
35 |
|
36 |
def build_interface() -> gr.Blocks:
|
37 |
"""Construct and return the Gradio interface for the WellBe+ Assistant."""
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
gr.HTML(logo_html) # Logo and title together
|
40 |
|
41 |
gr.Markdown("")
|
|
|
35 |
|
36 |
def build_interface() -> gr.Blocks:
|
37 |
"""Construct and return the Gradio interface for the WellBe+ Assistant."""
|
38 |
+
|
39 |
+
custom_css = """
|
40 |
+
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap');
|
41 |
+
|
42 |
+
* {
|
43 |
+
font-family: 'Nunito', sans-serif;
|
44 |
+
}
|
45 |
+
|
46 |
+
.gr-textbox textarea,
|
47 |
+
input[type="password"] {
|
48 |
+
background-color: #36c4e4 !important;
|
49 |
+
color: #000 !important;
|
50 |
+
border: none !important;
|
51 |
+
border-radius: 6px;
|
52 |
+
}
|
53 |
+
|
54 |
+
.gr-button-primary {
|
55 |
+
background-color: #0b65b3 !important;
|
56 |
+
color: white !important;
|
57 |
+
border: none !important;
|
58 |
+
border-radius: 6px;
|
59 |
+
}
|
60 |
+
|
61 |
+
.gr-button-primary:hover {
|
62 |
+
background-color: #094e91 !important;
|
63 |
+
}
|
64 |
+
"""
|
65 |
+
|
66 |
+
with gr.Blocks(title="WellBe+ Assistant", css=custom_css) as app:
|
67 |
gr.HTML(logo_html) # Logo and title together
|
68 |
|
69 |
gr.Markdown("")
|