zakaria-narjis / diet-recommendation-system Goto Github PK
View Code? Open in Web Editor NEWFood/Diet Recommendation system using machine learning
Home Page: https://diet-recommendation-system.streamlit.app/
License: Apache License 2.0
Food/Diet Recommendation system using machine learning
Home Page: https://diet-recommendation-system.streamlit.app/
License: Apache License 2.0
Useing command python -m streamlit run Hello.py in Streamlit_Forntend
Error in backend at
ConnectionError: HTTPConnectionPool(host='backend', port=8080): Max retries exceeded with url: /predict/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022E63DFA320>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
please let me know how to start project and run the project
my email:[email protected]
In the post method, what parameters do you include? I don't quite understand.
I wanna try in postman
main.py can't access the dataset inside Data folder and when i opened it, all the rows are vague
Traceback (most recent call last):
File "/Users/r/Documents/Bangkit Academy/Diet-Recommendation-System/FastAPI_Backend/main.py", line 8, in <module>
dataset=pd.read_csv('../Data/dataset.csv' ,compression='gzip')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/util/_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 950, in read_csv
return _read(filepath_or_buffer, kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 611, in _read
return parser.read(nrows)
^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 1778, in read
) = self._engine.read( # type: ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/r/anaconda3/lib/python3.11/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 230, in read
chunks = self._reader.read_low_memory(nrows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pandas/_libs/parsers.pyx", line 808, in pandas._libs.parsers.TextReader.read_low_memory
File "pandas/_libs/parsers.pyx", line 866, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 852, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 1973, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 5 fields in line 176, saw 6
I have reviewed the recommendation code but it ain't using data of user ( age, height, gender, exercise level) which is collected at runtime. then ain't this just simple recommendation using weight level and bmi to manage the calories?
if not, It would be very helpful if I can know where is user profile being used which makes this personalized
Backend code is not working with frontend .I tried so many times. Bro check the code properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.