momondi commited on
Commit
37976d8
·
verified ·
1 Parent(s): 25915da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ from langchain_core.runnables import RunnablePassthrough
101
  df = pd.read_json("./tourisme_chatbot.json")
102
 
103
  # Randomly sample a portion of the dataset (e.g., 30% of the data)
104
- sampled_df = df.sample(frac=0.3, random_state=42) # Adjust the fraction as needed
105
 
106
  context_data = []
107
  for i in range(len(sampled_df)): # Use the sampled data
 
101
  df = pd.read_json("./tourisme_chatbot.json")
102
 
103
  # Randomly sample a portion of the dataset (e.g., 30% of the data)
104
+ sampled_df = df.sample(frac=0.1, random_state=42) # Adjust the fraction as needed
105
 
106
  context_data = []
107
  for i in range(len(sampled_df)): # Use the sampled data