Skip to content
프로젝트

소개

A playground for creative exploration that uses SDXL Turbo.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

turbo.art

A playground for creative exploration that uses SDXL Turbo for real-time image editing. Try it now at https://turbo.art!

turbo-art

The entire app is serverless and hosted on Modal.

Developing locally

File structure

  • turbo_art.py - model endpoint and FastAPI web server (<150 lines of code!)
  • src/ - Svelte frontend

Requirements

To run this for yourself, you will need:

  1. Modal installed and set up locally, as well as FastAPI
pip install modal fastapi
modal setup
  1. npm installed

Iterate

During development, it's useful to have both the frontend and the Modal application automatically react to changes in the code. To do this, you'll need to run two processes.

First, in one shell session, run:

npm install
npm run build:watch

Then, in another shell session, run:

modal serve turbo_art.py

In the terminal output, you'll find a URL that you can visit to use your app. While the modal serve process is running, changes to any of the project files will be automatically applied. Ctrl+C will stop the app.

Deploy

Once you're happy with your changes, deploy your app:

npm run build
modal deploy turbo_art.py

In the terminal output, you'll find a different URL that you can visit to use your app. We chose to use Modal's custom domains feature to make the URL more memorable. Without a custom domain, you can still select part of the the modal.run subdomain you're assigned.

Note that leaving the app deployed on Modal doesn't cost you anything! Modal apps are serverless and scale to 0 when not in use.

관련 프로젝트 살펴보기

불러오는 중…