Skip to content

bkenan/live_travel_advisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployed Live Travel Advisor

Motivation

I built this non-Commercial web app for my Duke project. What it does is that it listens to you and provides top 10 travel listing based on your criterias. The app itsels has been designed in a way that users can easily navigate around. It is a simple app but really brings the most suitable hotels (flights and other travelling parameters will be added later) to your convenience just by listening. Hence, this app can be quite friendly for people who don't wanna spend too much time on typing and understanding the working mechanism of the currently available travel management websites. This robotic approach in services is most likely going to be the future in most service sectors soon. I'm using API to call the most up-to-date information available on internet.

How it works?

The application listens to you and brings top 10 hotels' key details based on your criterias. The currently accepted criterias are the following:

  • ascending/descending stars
  • popularity
  • distance to the center
  • reviews
  • price

The users are asked to include the check-in and check-out dates, also the number of persons and the location for booking in their voice recordings.
The results become available within few seconds after recording is stopped.

Frontend

HTML, CSS, JavaScript for managing the buttons and UI

Backend

I used a pre-trained deep learning model, Facebook's Wav2Vec2 for turning the speech into transcripts. For the most logic, I used Python Flask functions to implement the functionality along with the NLP best practices. Here is the quick overview of the workflow:

Deployment

Cloud environment offers awesome opportunities for the MLOps. See my article on this first. AWS ECR (Amazon Elastic Container Registry) is a professional container registry offering high-performance hosting, where I'm also hosting my Docker image. I also used AWS ECS (Amazon Elastic Container Service) to orchestrate my Docker container and successfully run my application on AWS EC2 (Amazon Elastic Compute Cloud). Broadly speaking, I pushed docker image to AWS ECR and from there I used ECS to deploy my app into EC2 instance as described in the diagram below:

Unknown

Deployed app link: AWS EC2 link

Collaboration

I'm still trying to improve this app, and add more functionality. Please, feel free to contribute if you're interested. Commands to run to start:

  • Install the required packages
make install
  • Run the app
python3 app.py

Demo for the app

Home page

1

The results

2

Access the results

Error handling

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published