A front-end for Icon UI image translation and game style transfer models.
Master - React front-end and Flask back-end as two separate servers. Faster launching and instant refresh upon code changes - recommended for development purposes.
Unified - React front-end and Flask back-end as one server. For deployment purposes.
Install node.js (>= 10.x) and yarn. Then install the node modules / Python dependencies:
cd client
yarn install
cd ..
yarn install
pip3 install -r requirements.txtInstall node.js (>= 10.x) and yarn. Then install the node modules / Python dependencies:
cd server
yarn install
cd ..
yarn install
pip3 install -r requirements.txtRun the development mode ([OS] = windows for Windows OS and linux for Linux/Ubuntu):
yarn [OS]example:
yarn linuxBy default, the master branch launches the React front-end at localhost:3000and the Python REST API at localhost:3001.
By default, the unified branch launches the site at localhost:3000.
If running yarn linux raises a Module Not Found error, try running yarn linux2.