Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1928,6 +1928,8 @@ def reset_variables():
|
|
| 1928 |
def update_ai_dataset_selection(selection):
|
| 1929 |
global selected_dataset_ai # Ensure the global variable is updated
|
| 1930 |
reset_variables()
|
|
|
|
|
|
|
| 1931 |
if selection == "VW Customers":
|
| 1932 |
selected_dataset_ai = vw_customers_state.value[0] # Use the customer dataset
|
| 1933 |
elif selection == "VW Prospects":
|
|
|
|
| 1928 |
def update_ai_dataset_selection(selection):
|
| 1929 |
global selected_dataset_ai # Ensure the global variable is updated
|
| 1930 |
reset_variables()
|
| 1931 |
+
chat_history.clear()
|
| 1932 |
+
|
| 1933 |
if selection == "VW Customers":
|
| 1934 |
selected_dataset_ai = vw_customers_state.value[0] # Use the customer dataset
|
| 1935 |
elif selection == "VW Prospects":
|