Update app.py
Browse files
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: #
|
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
|