Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -455,7 +455,7 @@ with tabs[1]:
|
|
| 455 |
df_abstract = pd.DataFrame({"Abstract & Recommendations": [abstract]})
|
| 456 |
df_abstract.to_excel(writer, index=False, sheet_name="Abstract")
|
| 457 |
|
| 458 |
-
writer.
|
| 459 |
|
| 460 |
excel_io.seek(0)
|
| 461 |
|
|
@@ -466,5 +466,5 @@ with tabs[1]:
|
|
| 466 |
file_name="analysis_data.xlsx",
|
| 467 |
mime="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
| 468 |
)
|
| 469 |
-
|
| 470 |
|
|
|
|
| 455 |
df_abstract = pd.DataFrame({"Abstract & Recommendations": [abstract]})
|
| 456 |
df_abstract.to_excel(writer, index=False, sheet_name="Abstract")
|
| 457 |
|
| 458 |
+
writer.close()
|
| 459 |
|
| 460 |
excel_io.seek(0)
|
| 461 |
|
|
|
|
| 466 |
file_name="analysis_data.xlsx",
|
| 467 |
mime="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
| 468 |
)
|
| 469 |
+
|
| 470 |
|