botsi commited on
Commit
cfe0a62
·
verified ·
1 Parent(s): a398fcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -379,6 +379,9 @@ def generate(
379
 
380
 
381
  # Save chat history to .csv file on HuggingFace Hub
 
 
 
382
  # Generate filename with bot id and session id
383
  filename = f"{groupNrStart}_{playerNr}_{PROLIFIC_PID}_{onPage}_{DATA_FILENAME}"
384
  data_file = os.path.join(DATA_DIRECTORY, filename)
 
379
 
380
 
381
  # Save chat history to .csv file on HuggingFace Hub
382
+ # Set the maximum column width to None to prevent truncation
383
+ pd.set_option("display.max_colwidth", None)
384
+
385
  # Generate filename with bot id and session id
386
  filename = f"{groupNrStart}_{playerNr}_{PROLIFIC_PID}_{onPage}_{DATA_FILENAME}"
387
  data_file = os.path.join(DATA_DIRECTORY, filename)