Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,19 +61,21 @@ def call_langflow(message, history):
|
|
| 61 |
|
| 62 |
# Create Gradio Chat Interface
|
| 63 |
custom_css = """
|
| 64 |
-
/*
|
| 65 |
-
button
|
| 66 |
background-color: pink !important;
|
| 67 |
color: white !important;
|
| 68 |
border: none !important;
|
|
|
|
| 69 |
}
|
| 70 |
|
| 71 |
/* Hover effect */
|
| 72 |
-
button
|
| 73 |
background-color: hotpink !important;
|
| 74 |
color: white !important;
|
| 75 |
}
|
| 76 |
"""
|
|
|
|
| 77 |
demo = gr.ChatInterface(
|
| 78 |
fn=call_langflow,
|
| 79 |
title="Urban Air Chatbot POC",
|
|
|
|
| 61 |
|
| 62 |
# Create Gradio Chat Interface
|
| 63 |
custom_css = """
|
| 64 |
+
/* Style only the ChatInterface's pink submit button */
|
| 65 |
+
button.primary.svelte-cmf5ev {
|
| 66 |
background-color: pink !important;
|
| 67 |
color: white !important;
|
| 68 |
border: none !important;
|
| 69 |
+
transition: background-color 0.2s ease-in-out !important;
|
| 70 |
}
|
| 71 |
|
| 72 |
/* Hover effect */
|
| 73 |
+
button.primary.svelte-cmf5ev:hover {
|
| 74 |
background-color: hotpink !important;
|
| 75 |
color: white !important;
|
| 76 |
}
|
| 77 |
"""
|
| 78 |
+
|
| 79 |
demo = gr.ChatInterface(
|
| 80 |
fn=call_langflow,
|
| 81 |
title="Urban Air Chatbot POC",
|