Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,21 +23,8 @@ def respond(message, history):
|
|
| 23 |
|
| 24 |
title = "CASSI"
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
background-color: #fff8dc; /* Light yellow background */
|
| 29 |
-
}
|
| 30 |
-
.message.user {
|
| 31 |
-
background-color: #cce5ff !important; /* Light blue user messages */
|
| 32 |
-
color: #003366 !important; /* Dark blue text */
|
| 33 |
-
}
|
| 34 |
-
.message.bot {
|
| 35 |
-
background-color: #ffe4c1 !important; /* Light gray bot messages */
|
| 36 |
-
color: #252f61 !important;
|
| 37 |
-
}"""
|
| 38 |
-
|
| 39 |
-
with gr.Blocks(css=css, title=title) as demo:
|
| 40 |
-
chatbot = gr.ChatInterface(respond, type = "messages",)
|
| 41 |
|
| 42 |
#chatbot ui - conversation history and user input
|
| 43 |
chatbot.launch()
|
|
|
|
| 23 |
|
| 24 |
title = "CASSI"
|
| 25 |
|
| 26 |
+
|
| 27 |
+
chatbot = gr.ChatInterface(respond, type = "messages",)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
#chatbot ui - conversation history and user input
|
| 30 |
chatbot.launch()
|