botsi commited on
Commit
1d1ea50
·
verified ·
1 Parent(s): 1f68202

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -367,7 +367,7 @@ def generate(
367
 
368
  # Save chat history to .csv file on HuggingFace Hub
369
  # Generate filename with bot id and session id
370
- filename = f"{session_index}_{DATA_FILENAME}"
371
  data_file = os.path.join(DATA_DIRECTORY, filename)
372
 
373
  # Generate timestamp
 
367
 
368
  # Save chat history to .csv file on HuggingFace Hub
369
  # Generate filename with bot id and session id
370
+ filename = f"{session_index}_{onPage}{DATA_FILENAME}"
371
  data_file = os.path.join(DATA_DIRECTORY, filename)
372
 
373
  # Generate timestamp