Redmind commited on
Commit
4f07549
·
verified ·
1 Parent(s): 24a33a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1198,7 +1198,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
1198
  directory = user_name + "/" + formatted_date_time
1199
  create_file_HF(file_path, directory,False)
1200
  dataset_link = get_download_link(directory,file_path)
1201
- docstatus = f"Download the complete dataset <a href='{dataset_link}' download> here.</a>.There are total of {total_rows} rows."
1202
  print("File created in the home path")
1203
 
1204
  #save_file_to_hostinger('output_data.xlsx')
@@ -1222,7 +1222,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
1222
  create_file_HF(zip_file_name,directory, False)
1223
  link = get_download_link(directory,zip_file_name)
1224
  print(f"downloadable link: {link}")
1225
- docstatus = f"Please download the complete dataset here: <a href='{link}' download>Download</a>. {total_rows} documents are created successfully."
1226
  print(sample_table)
1227
  # 5. Return the summary and downloadable link
1228
  #return f"""
 
1198
  directory = user_name + "/" + formatted_date_time
1199
  create_file_HF(file_path, directory,False)
1200
  dataset_link = get_download_link(directory,file_path)
1201
+ docstatus = f"""Download the complete dataset <a href="{dataset_link}" download> here.</a>.There are total of {total_rows} rows."""
1202
  print("File created in the home path")
1203
 
1204
  #save_file_to_hostinger('output_data.xlsx')
 
1222
  create_file_HF(zip_file_name,directory, False)
1223
  link = get_download_link(directory,zip_file_name)
1224
  print(f"downloadable link: {link}")
1225
+ docstatus = f"""Please download the complete dataset here: <a href="{link}" download>Download</a>. {total_rows} documents are created successfully."""
1226
  print(sample_table)
1227
  # 5. Return the summary and downloadable link
1228
  #return f"""