Spaces:
Runtime error
Runtime error
Commit History
-
feat: Refactor restaurant search and importer modules
- Change subtitle text to "Find the best restaurants" - Update text input prompt to "Search for keywords" - Remove "No results found" message if search results are empty - Display restaurant information in a table - Add subheader for section on similar restaurants - Remove commented out code for displaying similar restaurants - Fix missing newline at end of file - Add imports for requests and BeautifulSoup libraries in search.py - Add function to search for keywords in comments in a given dataframe in search.py - Add `bs4` and `lxml` to `requirements.txt` - Remove code that retrieved latitude and longitude from "Address" column in importer.py - Move code to retrieve latitude and longitude from "Address" column to a separate function in importer.py - Add check to remove restaurants with the same name from recommendations list in recommender.py3d26679 -
feat: Add functionality for retrieving and displaying latitude and longitude
- Added code to retrieve latitude and longitude from an address using the `geocoder` library - Updated the `load_data` function to include latitude and longitude columns in the returned DataFrame - Modified `app.py` to display a map with the location and comment out the code for displaying recommended restaurantsf59d43e -
feat: Refactor code, add search features, and import packages
- Deleted unnecessary .pyc files in `src/__pycache__/` directory - Added .gitignore file to ignore `src/__pycache__/` and `Notebooks/__pycache__/` directories - Refactored code in app.py to improve search functionality and display of results - Added import statements and functions in `importer.py` to handle data processing and sentiment analysis - Deleted unnecessary .pyc file in `src/__pycache__/recommender.cpython-311.pyc` - Added a new function in `search.py` to improve search functionality - Made minor code adjustments and cleanup in `recommender.py`5fce53c -
feat: Add functionality for searching keywords in comments
- Added `pandas`, `numpy`, `sklearn` to `requirements.txt` - Added a new file `src/__pycache__/search.cpython-311.pyc` - Added a new file `search.py` with a function to search keywords in comments - Added necessary imports and code for the restaurant recommender in `app.py` - Added a new file `src/__pycache__/recommender.cpython-311.pyc` - Added a new file `src/__pycache__/importer.cpython-311.pyc` - Created a new file `recommender.py` with functions for model training and generating recommendations - Created a new file `importer.py` with a function to load data from a CSV file and extract key words from comments3ca8293