Update app.py
Browse files
app.py
CHANGED
|
@@ -280,7 +280,7 @@ def server(input, output, session):
|
|
| 280 |
@session.download(filename="data.csv")
|
| 281 |
def download_data():
|
| 282 |
# Get the current dataset and save it to CSV
|
| 283 |
-
return cached_data().
|
| 284 |
|
| 285 |
|
| 286 |
|
|
|
|
| 280 |
@session.download(filename="data.csv")
|
| 281 |
def download_data():
|
| 282 |
# Get the current dataset and save it to CSV
|
| 283 |
+
return cached_data().write_csv('data.csv')
|
| 284 |
|
| 285 |
|
| 286 |
|