Wajahat698 commited on
Commit
80a2e90
·
verified ·
1 Parent(s): 3287186

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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":