freemt commited on
Commit
04c07b4
·
1 Parent(s): 964db97

Update (dev) dl_csv

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def ml_fn(
82
  if download_csv:
83
  filepath = Path("aligned-blocks.csv")
84
  _ = df.to_csv(index=False)
85
- dl_csv = filepath.write_text("utf8")
86
 
87
  # return pd.DataFrame([["", "", ""]])
88
  # return df.to_html()
 
82
  if download_csv:
83
  filepath = Path("aligned-blocks.csv")
84
  _ = df.to_csv(index=False)
85
+ dl_csv = filepath.write_text(_, encoding="utf8")
86
 
87
  # return pd.DataFrame([["", "", ""]])
88
  # return df.to_html()