Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,23 @@ Review the summary carefully before proceeding."""
|
|
273 |
def create_demo():
|
274 |
launch_crew = None
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
|
277 |
gr.Markdown("# π Space Launch System Analysis and Refinement Crew")
|
278 |
|
279 |
openai_api_key = gr.Textbox(
|
|
|
273 |
def create_demo():
|
274 |
launch_crew = None
|
275 |
|
276 |
+
# Use custom CSS to improve chat output readability
|
277 |
+
custom_css = """
|
278 |
+
<style>
|
279 |
+
/* Adjust chat message background and text color for better readability */
|
280 |
+
.gr-chat-message {
|
281 |
+
background-color: #ffffff !important;
|
282 |
+
color: #000000 !important;
|
283 |
+
border: 1px solid #ccc;
|
284 |
+
padding: 10px;
|
285 |
+
margin: 5px;
|
286 |
+
border-radius: 8px;
|
287 |
+
}
|
288 |
+
</style>
|
289 |
+
"""
|
290 |
+
|
291 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
292 |
+
gr.HTML(custom_css)
|
293 |
gr.Markdown("# π Space Launch System Analysis and Refinement Crew")
|
294 |
|
295 |
openai_api_key = gr.Textbox(
|