Spaces:
Runtime error
Runtime error
Commit
·
605bb46
1
Parent(s):
ee94261
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def append_file(file_path, content):
|
|
143 |
except:
|
144 |
return "Error occurred while appending to file."
|
145 |
|
146 |
-
def download_csv(file_path):
|
147 |
try:
|
148 |
with open(file_path, "wb") as file:
|
149 |
writer = csv.writer(file)
|
|
|
143 |
except:
|
144 |
return "Error occurred while appending to file."
|
145 |
|
146 |
+
def download_csv(file_path, content):
|
147 |
try:
|
148 |
with open(file_path, "wb") as file:
|
149 |
writer = csv.writer(file)
|