Skip to content

nikitavbv/sandbox

Repository files navigation

sandbox: web app for exploring generative ai models


This web app is built for learning and fun purposes. All components are written in Rust.

Usage

Features

  • Generate images with Stable Diffusion v2.1

TODOs

  • generate images using controlnet.
  • chat with llama.
  • serve static frontend files from sandbox-server, so that you can run most of the app (without worker) with single cargo run.
  • simple self hosting.
  • enable caching for assets.
  • make "tasks" link in the header to be an actual link.
  • delete images and tasks.
  • button to generate X more images for task.
  • bidirectional streaming between worker and server.
  • task visibility levels (private/public)
  • graceful shutdown for worker (pause running task and resume it as soon as new instance of worker is started) - probably need to implement task cancel/pause first.

Acknowledgments

Most of the heavy lifting is performed by candle (which is an amazing library) and code samples from candle examples.

Releases

No releases published

Languages