Spaces:
Sleeping
Sleeping
Commit ·
b47ed82
1
Parent(s): 82589e9
Update main.py
Browse files130 unmodified lines131132133134135136137138134135136137138139140141130 unmodified linesasync def predict(address_input: str): address_input_split = address_input.split(';') # results = process_multiple_address(address_input_split) # results = pd.concat(results).reset_index(drop=1) # prediction = results[['Address Input', 'Address Output', 'Match Percent', 'Website', 'Square Footage', 'Beds', 'Baths', 'Year Built', # 'Link', 'Google Search Result', 'Description']] return address_input_split results = process_multiple_address(address_input_split) results = pd.concat(results).reset_index(drop=1) prediction = results[['Address Input', 'Address Output', 'Match Percent', 'Website', 'Square Footage', 'Beds', 'Baths', 'Year Built', 'Link', 'Google Search Result', 'Description']] return prediction.to_json()
main.py+5-5