Redmind commited on
Commit
16e1355
·
verified ·
1 Parent(s): 849b8e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1154,7 +1154,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
1154
  #print(df)
1155
  print(f"Total rows: {total_rows}")
1156
 
1157
- #docstatus = f"Download the complete dataset <a href='https://huggingface.co/spaces/Redmind/NewageNXTGPT/blob/main/assets/output.xlsx' download> here.</a>.There are total of {total_rows} rows."
1158
 
1159
  if total_rows < 4000:
1160
 
@@ -1312,7 +1312,7 @@ def directory_exists(repo_id, directory, token):
1312
 
1313
  def get_download_link(file_path,file_name):
1314
  # Hugging Face Spaces uses this URL format for repository-hosted files
1315
- base_url = "https://huggingface.co/spaces/Redmind/NewageNXTGPT_Repo_trial/blob/test-branch"
1316
  # Replace <your-space-id> with your actual Space name
1317
  return f"{base_url}/{file_path}/{file_name}"
1318
 
 
1154
  #print(df)
1155
  print(f"Total rows: {total_rows}")
1156
 
1157
+ #docstatus = f"Download the complete dataset <a href='https://huggingface.co/spaces/Redmind/NewageNXTGPT/resolve/main/assets/output.xlsx' download> here.</a>.There are total of {total_rows} rows."
1158
 
1159
  if total_rows < 4000:
1160
 
 
1312
 
1313
  def get_download_link(file_path,file_name):
1314
  # Hugging Face Spaces uses this URL format for repository-hosted files
1315
+ base_url = "https://huggingface.co/spaces/Redmind/NewageNXTGPT_Repo_trial/resolve/test-branch"
1316
  # Replace <your-space-id> with your actual Space name
1317
  return f"{base_url}/{file_path}/{file_name}"
1318