Skip to content

A tensorflow.js Rock-Paper-Scissors Model running on a Flask server

Notifications You must be signed in to change notification settings

Tenoke/tensorflowjs-rps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A tensorflow.js Rock-Paper-Scissors Model running on a Flask server

Contains the model in RPS.ipnyb, data, and a small flask server

Setup

python3 -m venv rps-venv
source rps-venv/bin/activate
pip install -r requirements.txt 
python app.py

After doing the above, you can play against the model at http://127.0.0.1:5000/rps

Alternatively, you can adjust the model by running jupyter-lab and navigating to RPS.ipnyb

Demo

Screenshot

Demo

Associated Blog Post