SantanuBanerjee commited on
Commit
f7c68fc
·
verified ·
1 Parent(s): 34ac2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -363,8 +363,8 @@ def nlp_pipeline(original_df):
363
  console_messages.append("Starting NLP pipeline for Location extraction with text processing.")
364
 
365
  # Apply the text_processing_for_location function to the DataFrame
366
- # processed_df['Processed_LocationText_forClustering'] = processed_df['Problem_Description'].apply(text_processing_for_location)
367
- processed_df['Processed_LocationText_forClustering'], processed_df['Extracted_Locations'] = zip(*processed_df.apply(text_processing_for_location, axis=1))
368
 
369
  # Location Clustering
370
  try:
 
363
  console_messages.append("Starting NLP pipeline for Location extraction with text processing.")
364
 
365
  # Apply the text_processing_for_location function to the DataFrame
366
+ processed_df['Processed_LocationText_forClustering'] = processed_df['Problem_Description'].apply(text_processing_for_location)
367
+ # processed_df['Processed_LocationText_forClustering'], processed_df['Extracted_Locations'] = zip(*processed_df.apply(text_processing_for_location, axis=1))
368
 
369
  # Location Clustering
370
  try: