Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|