Commit Graph

1380 Commits

Author SHA1 Message Date
ZeroCool940711
d653c77785 Added Barfi/Baklavajs basic integration for those that want to work implement a node based system for Stable Diffusion inside the UI. 2022-11-01 07:15:53 -07:00
Alejandro Gil
26c5c8590e
Fixed errors when post-processing models aren't installed (#1633)
Fixes #1522, #1604, #1453

LDSR changes in 0c03cedeb9 don't always
set the session_state keys depending on which combination of post
processing models are installed.
Resolves errors such as 
`KeyError: 'st.session_state has no key "use_LDSR"`
`KeyError: 'st.session_state has no key "GFPGAN_model"`

sd_utils changes set these values to defaults when available check fails
The other changes prevent errors if LDSR is installed without RealESRGAN
eg:
`File "scripts\txt2vid.py", line 1788, in layout

index=upscaling_method_list.index(st.session_state['defaults'].general.upscaling_method))
ValueError: 'RealESRGAN' is not in list`
2022-11-01 05:27:48 -07:00
fezeral
10b66cc2b9 Fixed errors when post-processing models aren't installed
Fixes #1522, #1604
2022-11-01 17:26:47 +10:30
Alejandro Gil
d8e61a5cd3
Added support for webp images in the img2txt tab. (#1632) 2022-10-31 13:39:09 -07:00
ZeroCool940711
9a9c357922 Added support for webp images in the img2txt tab 2022-10-31 13:38:31 -07:00
Alejandro Gil
90b4414096
Increased the padding right distance by 5px which fixes the issue of the UI jumping sometimes because the image full screen icon was overlapping the scrollbar. (#1631) 2022-10-31 13:37:38 -07:00
ZeroCool940711
dd71400951 Merge remote-tracking branch 'origin/dev' into dev 2022-10-31 13:34:29 -07:00
ZeroCool940711
f82a91333a Increased the padding right distance by 5px which fixes the issue of the UI jumping sometimes because the image full screen icon was overlapping the scrollbar. 2022-10-31 13:34:23 -07:00
Alejandro Gil
e13132c78c
Reverted txt2vid to use the StableDiffusionPipeline instead of StableDiffusionWalkPipeline when loading the model. (#1630) 2022-10-31 07:15:19 -07:00
ZeroCool940711
2ea2606e83 Reverted txt2vid to use the StableDiffusionPipeline instead of StableDiffusionWalkPipeline when loading the model. 2022-10-31 06:50:21 -07:00
ZeroCool940711
25acf77260 Added menu item for the Fine Tunning tab which will be implemented in the near future. 2022-10-31 05:37:41 -07:00
ZeroCool940711
e73e0c45b0 Removed unnecessary code from previous iteration of the gallery tab as its no longer needed. 2022-10-31 05:36:43 -07:00
ZeroCool940711
928ce11b51 Changed text on the txt2vid to point people to Settings page where they can add their huggingface token. 2022-10-31 02:31:00 -07:00
Alejandro Gil
1cb5ba74b2
Added note at top of colab to remind people to enable a gpu backend. (#1628)
# Description

as above. in case your grandma wants to use it.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-10-30 07:21:00 -07:00
aedh carrick
a848240014
typo 2022-10-30 08:54:46 -05:00
aedh carrick
7633f02631 added reminder to choose gpu backend in colab 2022-10-30 08:49:47 -05:00
Alejandro Gil
fccc12a806
Allow users to set their stable horde api key on the settings page. (#1627) 2022-10-30 04:26:33 -07:00
ZeroCool940711
83aa96e0d9 Changed txt2img to properly take the stable horde api from the settings page as it was not taking it from there but had a fixed value before. This means every time you had to manually add the api key, now you can just add it on the settings page once and it will be used from there. 2022-10-30 04:23:29 -07:00
ZeroCool940711
e66bb398e9 Merge remote-tracking branch 'origin/dev' into dev 2022-10-30 03:36:49 -07:00
ZeroCool940711
f23f5253ac Allow users to set their stable horde api key on the Settings page. 2022-10-30 03:36:30 -07:00
ZeroCool940711
d1d672fcfb Added default stable horde api for anonymous usage. 2022-10-30 03:35:52 -07:00
Alejandro Gil
6e5221eb20
Removed the gallery message as its not needed. (#1626) 2022-10-29 23:46:18 -07:00
Alejandro Gil
035ed25c7e
Merge branch 'Sygil-Dev:dev' into dev 2022-10-29 23:45:52 -07:00
ZeroCool940711
8b638b338d Removed the gallery message as its not needed. 2022-10-29 23:45:27 -07:00
Alejandro Gil
599db4147c
Removed message shown on the gallery tab when empty which was still shown even when it was not empty. (#1625) 2022-10-29 22:41:19 -07:00
ZeroCool940711
3e1ef82378 Removed unnecessary log message which was causing confusing, this feature is something that works depending on the model loaded. 2022-10-29 22:24:36 -07:00
ZeroCool940711
658646eed2 Removed message shown on the gallery tab when empty which was still shown even when it was not empty. 2022-10-29 22:23:31 -07:00
Alejandro Gil
5d3feebfd0
Added cell to prefetch models. (#1619)
# Description

Added a config cell for the Colab instance. Now it can pre-fetch models.
Folder on Google drive can be specified. If models are found there, they
will be symlinked instead of downloaded. Any models found in folder, but
not in download list, will be symlinked to models/custom. Also added
comments to code and titles to cells.
Should just be able to enter settings in first cell, then hit 'run all'.
Well... twice.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
2022-10-29 10:02:12 -07:00
Alejandro Gil
56b2ba8963
Merge branch 'dev' into patch-2 2022-10-29 09:57:21 -07:00
Alejandro Gil
c5981694c3
Fixed the serverAddress default value stopping people from using the UI in services like runpod. (#1621) 2022-10-29 09:56:50 -07:00
aedh carrick
e5f6f2faa4 changed repo path from hard coded to variable 2022-10-29 10:05:03 -05:00
aedh carrick
3fddf6848e
Added cell to prefetch models.
Added a config cell for the Colab instance.  Now it can pre-fetch models.  Folder on Google drive can be specified. If models are found there, they will be symlinked instead of downloaded.  Any models found in folder, but not in download list, will be symlinked to models/custom.
Also added comments to code and titles to cells.
Should just be able to enter settings in first cell, then hit 'run all'.
Well... twice.
2022-10-29 07:22:38 -05:00
Alejandro Gil
1edaccfeb5
Added option for admins to hide the server and browser settings form the Settings page. (#1618) 2022-10-28 23:49:28 -07:00
Alejandro Gil
7537c8bf55
Merge branch 'Sygil-Dev:dev' into dev 2022-10-28 23:49:10 -07:00
ZeroCool940711
7007f2874c Added option for admins to hide the server and browser settings form the Settings page. 2022-10-28 23:48:45 -07:00
Alejandro Gil
99150c1833
Add settings on the settings page to customize most streamlit options including the server address, port and headless mode. (#1617)
- Add settings on the settings page to customize most streamlit options
including the server address, port and headless mode.
- Changed default server address to localhost.
- Removed default hard coded server address from the cmd and sh file as
they are now customizable through the Settings page on the streamlit
version.
2022-10-28 23:22:37 -07:00
ZeroCool940711
f4563ea587 Removed default hard coded server address from the cmd and sh file as they are now customizable through the Settings page on the streamlit version. 2022-10-28 23:21:18 -07:00
ZeroCool940711
05c838b594 Add settings on the settings page to customize most streamlit options including the server address, port and headless mode. 2022-10-28 23:20:21 -07:00
ZeroCool940711
370ee31adb Changed default server address to localhost. 2022-10-28 23:19:48 -07:00
hlky
cd0b76d311
dev <- master (#1616) 2022-10-29 06:47:56 +01:00
hlky
091520bed0
Merge branch 'dev' into master 2022-10-29 06:47:36 +01:00
Alejandro Gil
ecc0344ead
Added missing files from nataili. (#1614) 2022-10-28 19:21:47 -07:00
ZeroCool940711
645fd0f77d Added missing files from nataili. 2022-10-28 19:20:50 -07:00
Alejandro Gil
e9a4e46f66
Added basic image editor for the img2img tab. (#1613)
Added an image editor for img2img, for now its pretty basic and has some
bugs but it should do the job better than having to create a mask using
an external software and then importing it to the UI every time.
2022-10-28 12:41:21 -07:00
ZeroCool940711
f52efdfcd6 Reduced the size of the first column on txt2img and txt2vid to have more available space. 2022-10-28 12:18:46 -07:00
ZeroCool940711
f31166430f Changed the default mask mode to 1. 2022-10-28 12:17:58 -07:00
ZeroCool940711
0a9517721d Added basic image editor for the img2img tab. 2022-10-28 12:17:20 -07:00
ZeroCool940711
9d3d65fb5b Moving text to video to the new stable diffusion videos pipeline. 2022-10-28 03:16:27 -07:00
ZeroCool940711
4327fb59ec Added Tools drop menu to organize there extra tools. 2022-10-26 23:48:48 -07:00
ZeroCool940711
d8b1e503fa Added option on the config file to select the default Noise Mode. 2022-10-26 23:47:59 -07:00