Spaces:
Runtime error
Runtime error
Update utility/utils.py
Browse files475 unmodified lines476477478479475 unmodified linesprocessed_data['email'].extend(LLMdata['Email'])processed_data['contact_number'].extend(LLMdata['Contact'])processed_data['Link'].extend(LLMdata['Link'])return processed_data475 unmodified lines476477478479480481482483484485486487488489475 unmodified linesprocessed_data['email'].extend(LLMdata['Email'])processed_data['contact_number'].extend(LLMdata['Contact'])processed_data['Link'].extend(LLMdata['Link'])#to remove not found fields# List of keys to check for 'Not found'keys_to_check = ["name", "contact_number", "Designation", "email", "Location", "Link", "Company"]# Replace 'Not found' with an empty list for each keyfor key in keys_to_check:if processed_data[key] == ['Not found'] or processed_data[key] == ['not found']:processed_data[key] = []return processed_data
utility/utils.py+10