Skip to content

Commit

Permalink
installation
Browse files Browse the repository at this point in the history
  • Loading branch information
R3gm authored Nov 21, 2023
1 parent 8a434c9 commit 776c9f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

The goal of this project is to make Stable Diffusion more accessible, simple and easy-to-use with python. Stablepy is constructed on top of the Diffusers library

**Installation:**
```
pip install stablepy==0.3.0
```

**Usage:**

To use the project, simply create a new instance of the `Model_Diffusers` class. This class takes several arguments, including the path to the Stable Diffusion model file and the task name.
Expand Down Expand Up @@ -41,6 +46,7 @@ image, path_image = model(
img_height = 1024,
upscaler_model_path = "./upscaler/RealESRGAN_x4plus_anime_6B.pth",
upscaler_increases_size = 1.5,
hires_steps = 25,
)

image[0]
Expand Down

0 comments on commit 776c9f1

Please sign in to comment.