Update app.py
Browse files
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)
|