Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ body {
|
|
| 99 |
}
|
| 100 |
|
| 101 |
button {
|
| 102 |
-
background: linear-gradient(90deg, #
|
| 103 |
color: white;
|
| 104 |
padding: 0.6rem 1.2rem;
|
| 105 |
font-size: 0.9rem;
|
|
@@ -111,7 +111,7 @@ button {
|
|
| 111 |
}
|
| 112 |
|
| 113 |
button:hover {
|
| 114 |
-
background: linear-gradient(90deg, #
|
| 115 |
transform: scale(1.05);
|
| 116 |
}
|
| 117 |
|
|
@@ -127,7 +127,7 @@ header {
|
|
| 127 |
|
| 128 |
.chat-container {
|
| 129 |
border: 2px solid #ff7eb3;
|
| 130 |
-
background: rgba(255, 255, 255, 0.
|
| 131 |
border-radius: 15px;
|
| 132 |
padding: 20px;
|
| 133 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
@@ -191,11 +191,12 @@ header {
|
|
| 191 |
return history, history
|
| 192 |
updated_history, _ = chatbot(user_input, sub_category, history)
|
| 193 |
return updated_history, updated_history
|
|
|
|
| 194 |
|
| 195 |
send_button.click(
|
| 196 |
handle_chat,
|
| 197 |
inputs=[user_input, sub_category, chatbot_output],
|
| 198 |
outputs=[chatbot_output, chatbot_output]
|
| 199 |
)
|
| 200 |
-
|
| 201 |
chat_interface.launch()
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
button {
|
| 102 |
+
background: linear-gradient(90deg, #f0e6f6, #c6d9f0);
|
| 103 |
color: white;
|
| 104 |
padding: 0.6rem 1.2rem;
|
| 105 |
font-size: 0.9rem;
|
|
|
|
| 111 |
}
|
| 112 |
|
| 113 |
button:hover {
|
| 114 |
+
background: linear-gradient(90deg, #c6d9f0, #f0e6f6);
|
| 115 |
transform: scale(1.05);
|
| 116 |
}
|
| 117 |
|
|
|
|
| 127 |
|
| 128 |
.chat-container {
|
| 129 |
border: 2px solid #ff7eb3;
|
| 130 |
+
background: rgba(255, 255, 255, 0.9);
|
| 131 |
border-radius: 15px;
|
| 132 |
padding: 20px;
|
| 133 |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
|
|
| 191 |
return history, history
|
| 192 |
updated_history, _ = chatbot(user_input, sub_category, history)
|
| 193 |
return updated_history, updated_history
|
| 194 |
+
|
| 195 |
|
| 196 |
send_button.click(
|
| 197 |
handle_chat,
|
| 198 |
inputs=[user_input, sub_category, chatbot_output],
|
| 199 |
outputs=[chatbot_output, chatbot_output]
|
| 200 |
)
|
| 201 |
+
|
| 202 |
chat_interface.launch()
|