Skip to content

Albrrr/Food-Recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food-Recommender

A food recommendation website that is powered by AI to provide tailored restaurants to users based on their input.

Demonstration

Demo.video.mp4

Project-Structure


food-recommendation-rag/

├── backend/
│   ├── faiss_store/
│   │   ├── index.faiss
│   │   └── index.pkl
│   │ 
│   ├── app.py
│   ├── model.py
│   ├── rag.py
│   ├── vectorstore.py
│   ├── schemas.py
│   ├── colab_run.py
│   ├── DATA.json
│   └── requirements.txt
│
├── frontend/
│   ├── index.html
│   ├── app.js
│   └── styles.css
│
├── .gitignore
└── README.md

Instructions

Backend

Option 1: Locally

  • Open terminal(Powershell)
  • Navigate to backend/
  • Run the server with uvicorn app:app --host 0.0.0.0 --port 8000
  • Use http://localhost:8000 in the frontend URL spot

Option 2: Hosting the backend on Google Colab (recommended for GPU)

  • Ensure that you are on a GPU
  • Click "Run All"
  • Backend server is now live
  • It will print Public URL: https://....ngrok-free.app. Use that as the frontend’s API base URL

Frontend

  • Open a new instance of the terminal
  • Navigate into the frontend/ folder
  • Run python -m http.server 5500
  • Use curl http://localhost:5500 or paste http://localhost:5500 into a browser
  • Paste the backend URL into its spot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages