Skip to content

thongn98/cat_dog_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get started

Initialize virtual envirornment

python -m venv flask_app_env

This will create a folder in your current directory.

Activate virtual environment

cd flask_app_env
source bin/activate

Cloning this repository

Go to the directory you want to put the repository (can be in the virtual environment folder flask_app_env). Then use git to clone the repository

git clone https://github.com/thongn98/cat_dog_app.git

Installing requirements

Go in this repository, then use pip to install the required library

cd cat_dog_app
pip install -r requirements.txt

Copy the models

Create `/models directory

mkdir models

Copy the model (.h5 file) into /cat_dog_app/models/ and change the 14th line in app.py to the right name of the model file.

Create a folder for where your user's upload ends up in \cat_dog_app\

mkdir uploads

Run the app

Go back to /cat_dog_app and run

flask run

View the app on your browser

Go to your browser and go to localhost:5000 to view your app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published