nesticot commited on
Commit
a77c881
·
verified ·
1 Parent(s): 8bb9fa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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