Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1148,7 +1148,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
1148 |
print(f"Total rows: {total_rows}")
|
1149 |
|
1150 |
#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."
|
1151 |
-
docstatus = f"Download the complete dataset <a href='https://redmindtechnologies.com/RedMindGPT/ouput.
|
1152 |
if total_rows < 4000:
|
1153 |
|
1154 |
# 1. Limit to first 10 rows
|
@@ -1235,7 +1235,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
1235 |
# Create a PDF for each row
|
1236 |
create_pdf(row['COMPANY'], row['EMPLOYEE NAME'], row['ACCOUNT NUMBER'])
|
1237 |
create_document = False
|
1238 |
-
docstatus
|
1239 |
print(sample_table)
|
1240 |
# 5. Return the summary and downloadable link
|
1241 |
#return f"""
|
|
|
1148 |
print(f"Total rows: {total_rows}")
|
1149 |
|
1150 |
#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."
|
1151 |
+
docstatus = f"Download the complete dataset <a href='https://redmindtechnologies.com/RedMindGPT/ouput.xlsx' download> here.</a>.There are total of {total_rows} rows."
|
1152 |
if total_rows < 4000:
|
1153 |
|
1154 |
# 1. Limit to first 10 rows
|
|
|
1235 |
# Create a PDF for each row
|
1236 |
create_pdf(row['COMPANY'], row['EMPLOYEE NAME'], row['ACCOUNT NUMBER'])
|
1237 |
create_document = False
|
1238 |
+
docstatus = f"Please download the complete dataset here: <a href="https://redmindtechnologies.com/RedMindGPT/output.zip" download>Download</a>. {total_rows} documents are created successfully."
|
1239 |
print(sample_table)
|
1240 |
# 5. Return the summary and downloadable link
|
1241 |
#return f"""
|