SantanuBanerjee commited on
Commit
f1eb71f
·
verified ·
1 Parent(s): 66dbcdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -356,6 +356,7 @@ def nlp_pipeline(original_df, console_messages):
356
 
357
  def process_excel(file):
358
  console_messages = []
 
359
 
360
  try:
361
  # Ensure the file path is correct
@@ -364,9 +365,9 @@ def process_excel(file):
364
  # Read the Excel file
365
  df = pd.read_excel(file_path)
366
 
367
- # # Process the DataFrame
368
- # console_messages.append("Processing the DataFrame...")
369
- # result_df, console_messages = nlp_pipeline(df, console_messages)
370
 
371
  # output_file = "Output_ProjectProposals.xlsx"
372
  output_file = "Output_Proposals.xlsx"
 
356
 
357
  def process_excel(file):
358
  console_messages = []
359
+ console_messages.append("Processing...")
360
 
361
  try:
362
  # Ensure the file path is correct
 
365
  # Read the Excel file
366
  df = pd.read_excel(file_path)
367
 
368
+ # Process the DataFrame
369
+ console_messages.append("Processing the DataFrame...")
370
+ result_df, console_messages = nlp_pipeline(df, console_messages)
371
 
372
  # output_file = "Output_ProjectProposals.xlsx"
373
  output_file = "Output_Proposals.xlsx"