Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 816 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 816 Bytes

sdxl Turbo FastApi Endpoint

demo

Overview

This is a FastApi endpoint for the sdxl Turbo model. There is a single endpoint, /, where you can get the frontend. A websocket is used to go between the frontend and the backend.

Installation

  1. Clone the repository or download the source code.

  2. Install all required Python packages:

pip install -r requirements.txt
  1. You can use the download.py script to download the model and the weights.
python3 download.py

Running the Server

To run the server, execute the following from the root directory:

python3 app.py

Testing the Server

click on the link in teh terminal when the app is running. If you encounter errors regarding the loading of the camera, switch to localhost instead of "0.0.0.0".