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.
-
Clone the repository or download the source code.
-
Install all required Python packages:
pip install -r requirements.txt
- You can use the download.py script to download the model and the weights.
python3 download.py
To run the server, execute the following from the root directory:
python3 app.py
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".