Skip to content

Commit

Permalink
update README, add screenshots, fix minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
seruva19 committed Jan 2, 2025
1 parent f8891ae commit e7c2562
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Web-GUI for Kandinsky generative AI models ([Kandinsky2](https://github.com/ai-f
## Screenshots

<details>
<summary>Toggle</summary>
<summary>Toggle</summary>

### Kandinsky 2.0

Expand All @@ -67,7 +67,7 @@ Web-GUI for Kandinsky generative AI models ([Kandinsky2](https://github.com/ai-f

### Kandinsky 4.0

![img](/sshots/video_40.png)
![img](/sshots/screenshot_40.gif)

</details>

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ setuptools==69.5.1
git+https://github.com/ai-forever/Kandinsky-2.git@33c3176
git+https://github.com/openai/CLIP.git@a1d0717
diffusers==0.30.3
git+https://github.com/huggingface/transformers@6544271
transformers==4.44.0
torchao==0.7.0
optimum-quanto==0.2.6
mmgp==1.2.0
tokenizers==0.20.1
tokenizers==0.19.1
accelerate==1.0.1
safetensors==0.4.5
opencv-python==4.8.0.74
Expand Down
Empty file removed src/converter/kd_to_diffusers.py
Empty file.
12 changes: 10 additions & 2 deletions src/ui_blocks/settings_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,17 @@ def update_info():
try:
import flash_attn

flash_attn_info = f"flash_attn: {flash_attn.__version__}\n"
flash_attn_info = f"flashattn: {flash_attn.__version__}\n"
except:
flash_attn_info = f"flash_attn: not installed\n"
flash_attn_info = f"flashattn: not installed\n"

sageattn_info = ""
try:
from sageattention import sageattn

sageattn_info = f"sageattn: {sageattention.__version__}\n"
except:
sageattn_info = f"sageattn: not installed\n"

diffusers_info = ""
try:
Expand Down
8 changes: 7 additions & 1 deletion src/ui_blocks/t2i.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,13 @@ async def generate(
"init_image": None,
}

shared.storage.save(block, params)
saved_params = {
k: v
for k, v in params.items()
if k not in ["cnet_image", "init_image"]
}
shared.storage.save(block, saved_params)

params = augmentations["exec"](params, injections)

yield generate_fn(params)
Expand Down
Binary file removed sshots/screenshot.png
Binary file not shown.
Binary file added sshots/screenshot_20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sshots/screenshot_21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sshots/screenshot_22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sshots/screenshot_30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sshots/screenshot_31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sshots/screenshot_40.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e7c2562

Please sign in to comment.