gvartanian2010 commited on
Commit
8003d49
·
verified ·
1 Parent(s): 92d72c6

attempting to keep cover image as well as change the background color of the entire chatbot

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -79,11 +79,23 @@ def respond(message, history):
79
  chatbot = gr.ChatInterface(respond, title = "Student Formula Bot 🔬",
80
  description = 'Welcome to the core component of \"The Student Formula\": the RAG chatbot! With the ability to act as a finance tutor, accountability buddy, and goal-setting partner all in one, it\'s designed to best suit your needs on the way to productivity and success. To get started, ask about the basic principles of creating a budget!')
81
 
82
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
83
  gr.Image("banner_image.png", show_label=False, container=False)
84
 
85
  gr.ChatInterface(
86
  respond,
 
 
87
  examples=[
88
  "How do I build and balance a budget?",
89
  "Why do people write SMART goals?",
 
79
  chatbot = gr.ChatInterface(respond, title = "Student Formula Bot 🔬",
80
  description = 'Welcome to the core component of \"The Student Formula\": the RAG chatbot! With the ability to act as a finance tutor, accountability buddy, and goal-setting partner all in one, it\'s designed to best suit your needs on the way to productivity and success. To get started, ask about the basic principles of creating a budget!')
81
 
82
+ custom_css = """
83
+ body {
84
+ background-color: #DDEEE3 !important;
85
+ }
86
+
87
+ .gradio-container {
88
+ background-color: #DDEEE3 !important;
89
+ }
90
+ """
91
+
92
+ with gr.Blocks(css=custom_css) as demo:
93
  gr.Image("banner_image.png", show_label=False, container=False)
94
 
95
  gr.ChatInterface(
96
  respond,
97
+ title="Student Formula Bot 🔬",
98
+ description='Welcome to the core component of "The Student Formula"...',
99
  examples=[
100
  "How do I build and balance a budget?",
101
  "Why do people write SMART goals?",