GerritGeeraerts / immo-eliza-app

House Prediction App

Home Page:https://immo-eliza-streamlit.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Immo Prediction App with πŸ¦€ Charlie πŸ¦€

Python Docker Streamlit FastAPI Pydantic Linux

🏒 Description

In the preciding project I build a model with Charlie πŸ¦€ to predict the price of a house, in this project we will deploy the model with FastAPI and Streamlit. FastAPI for other developers to use the model and Streamlit for the end-user.

πŸ“¦ Repo structure

.
β”œβ”€β”€ backend  # FastAPI
β”‚   β”œβ”€β”€ config.py
β”‚   β”œβ”€β”€ Dockerfile
β”‚   β”œβ”€β”€ features
β”‚   β”‚   β”œβ”€β”€ build_features.py
β”‚   β”‚   β”œβ”€β”€ pipeline.py
β”‚   β”‚   └── transformers.py
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ models
β”‚   β”‚   └── catboost.pkl
β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”œβ”€β”€ schemas
β”‚   β”‚   β”œβ”€β”€ address_schema.py
β”‚   β”‚   β”œβ”€β”€ property_schema.py
β”‚   β”‚   └── value_shema.py
β”‚   └── utils.py
β”œβ”€β”€ docker-compose.yml
β”œβ”€β”€ frontend # streamlit
β”‚   β”œβ”€β”€ app.py
β”‚   β”œβ”€β”€ config.py
β”‚   β”œβ”€β”€ Dockerfile
β”‚   β”œβ”€β”€ images
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── utils.py
β”œβ”€β”€ README.md
└── requirements.txt

Online Live Demo!

It is a bit slow because it is hosted on a free server, but it works! Please be patient.

πŸš€ Launch the app locally

sudo docker compose up -d --build

Screenshot

FastAPI

FastAPI

View live demo: Immo Prediction Backend with FastAPI

StreamLit

StreamLit

View live demo: Immo Prediction Frontend with Streamlit

⏱️ Timeline

This project was done in 5 days including studying the theory and implementing the code.

πŸ“Œ Personal Situation

This project was done as part of my AI trainee program at BeCode.

Connect with me!

LinkedIn Stack Overflow Ask Ubuntu

About

House Prediction App

https://immo-eliza-streamlit.onrender.com


Languages

Language:Python 99.0%Language:Dockerfile 1.0%