🚧 work in progress 🚧
interactive_transformer_demo.mp4
git clone https://github.com/yizhe-ang/interactive-transformer.gitcd pythonInstall Python environment
poetry installFor non-CUDA CPU version, additionally run:
poetry source add -p explicit pytorch https://download.pytorch.org/whl/cpu
poetry add --source pytorch torch torchvisionLaunch the backend server
poetry shell
uvicorn main:app --reloadcd svelteInstall dependencies
npm install --forceLaunch application
npm run devThe application will run by default on http://localhost:5173/