Redmind commited on
Commit
e6fe7b1
·
verified ·
1 Parent(s): e7b8480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1184,6 +1184,8 @@ def handle_large_dataset(df, create_document,isDataFrame):
1184
 
1185
  file_path = os.path.join(current_folder, 'output_data.xlsx')
1186
  df.to_excel(file_path, index=False)
 
 
1187
  df.to_excel('/data/output_data.xlsx', index=False)
1188
 
1189
  files = os.listdir(current_folder)
 
1184
 
1185
  file_path = os.path.join(current_folder, 'output_data.xlsx')
1186
  df.to_excel(file_path, index=False)
1187
+ if not os.path.exists("/data/"):
1188
+ os.makedirs("/data/")
1189
  df.to_excel('/data/output_data.xlsx', index=False)
1190
 
1191
  files = os.listdir(current_folder)