Update app.py
Browse files
app.py
CHANGED
|
@@ -209,7 +209,7 @@ green_theme = gr.themes.Base(
|
|
| 209 |
)
|
| 210 |
|
| 211 |
|
| 212 |
-
|
| 213 |
# Initialize conversation with a welcome message if history is empty.
|
| 214 |
if not history:
|
| 215 |
history = [{"role": "assistant", "content": "<b>LA2050 Navigator:</b><br> Welcome to the LA2050 ideas hub! How can I help you today?"}]
|
|
|
|
| 209 |
)
|
| 210 |
|
| 211 |
|
| 212 |
+
def message_and_history(message, history):
|
| 213 |
# Initialize conversation with a welcome message if history is empty.
|
| 214 |
if not history:
|
| 215 |
history = [{"role": "assistant", "content": "<b>LA2050 Navigator:</b><br> Welcome to the LA2050 ideas hub! How can I help you today?"}]
|