Update app.py
Browse files
app.py
CHANGED
|
@@ -283,6 +283,7 @@ def server(input, output, session):
|
|
| 283 |
buffer = StringIO()
|
| 284 |
# Write the DataFrame to the buffer
|
| 285 |
cached_data().write_csv(buffer)
|
|
|
|
| 286 |
# Get the string value and return it
|
| 287 |
return buffer.getvalue()
|
| 288 |
|
|
|
|
| 283 |
buffer = StringIO()
|
| 284 |
# Write the DataFrame to the buffer
|
| 285 |
cached_data().write_csv(buffer)
|
| 286 |
+
buffer.seek(0)
|
| 287 |
# Get the string value and return it
|
| 288 |
return buffer.getvalue()
|
| 289 |
|