Xolkin commited on
Commit
0d5177b
·
verified ·
1 Parent(s): 50fb8ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -40,7 +40,7 @@ def respond(
40
  yield response
41
 
42
 
43
- # Define custom CSS for Flat Design
44
  flat_design_css = """
45
  * {
46
  margin: 0;
@@ -50,7 +50,7 @@ flat_design_css = """
50
  }
51
 
52
  .gradio-container {
53
- background-color: #f4f4f9;
54
  padding: 20px;
55
  border-radius: 8px;
56
  }
@@ -98,6 +98,10 @@ flat_design_css = """
98
  .gradio-interface .gradio-input-container {
99
  margin-bottom: 20px;
100
  }
 
 
 
 
101
  """
102
 
103
  # Launch the Gradio app with custom CSS
 
40
  yield response
41
 
42
 
43
+ # Define custom CSS for Flat Design with white background
44
  flat_design_css = """
45
  * {
46
  margin: 0;
 
50
  }
51
 
52
  .gradio-container {
53
+ background-color: #ffffff; /* White background */
54
  padding: 20px;
55
  border-radius: 8px;
56
  }
 
98
  .gradio-interface .gradio-input-container {
99
  margin-bottom: 20px;
100
  }
101
+
102
+ .gradio-chat {
103
+ background-color: #ffffff; /* White background for chat messages */
104
+ }
105
  """
106
 
107
  # Launch the Gradio app with custom CSS