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.txt
Install node.js (>= 10.x) and yarn. Then install the node modules / Python dependencies:
cd server
yarn install
cd ..
yarn install
pip3 install -r requirements.txt
Run the development mode ([OS] = windows for Windows OS and linux for Linux/Ubuntu):
yarn [OS]
example:
yarn linux
By default, the master branch launches the React front-end at localhost:3000
and 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
.