/streetview-diffusion

Google Street View with Stable Diffusion + ControlNet

Primary LanguageTypeScriptMIT LicenseMIT

Panoramai

This is the code for the panoramai.xyz web app.

panoramai

Frontend

To run the development server:

npm install
npm run dev

You'll need to fill in NEXT_PUBLIC_GOOGLE_API_KEYand NEXT_PUBLIC_BACKEND_URL in frontend/.env.local.

Backend

To build the worker and server images:

sudo docker build -t WORKER_IMAGE_NAME:TAG -f docker/Dockerfile.worker .
sudo docker build -t SERVER_IMAGE_NAME:TAG -f docker/Dockerfile.server .

To run the backend, fill in APP_WORKER_IMAGE, APP_SERVER_IMAGE, GOOGLE_KEY and DOMAIN_NAME in docker/.env.

Then, run in the docker folder:

sudo docker compose up