Spaces:
Runtime error
Runtime error
Update utility/utils.py
Browse files475 unmodified lines476477478479480481482483484485486487488489475 unmodified lines processed_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 key for key in keys_to_check: if processed_data[key] == ['Not found'] or processed_data[key] == ['not found']: processed_data[key] = [] return processed_datautility/utils.py+10