Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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:
|