Commit Graph

412 Commits (4e1f8a2b711784636e27e3db2d9d5eb7ee7170a4)

Author SHA1 Message Date
Vladimir Mandic 1e07e871fb add get version method 2023-05-25 13:59:57 -04:00
Vladimir Mandic 0acc7d3b86 fix redirector 2023-05-24 08:49:33 -04:00
Vladimir Mandic d36b16d03f refactor api auth 2023-05-23 14:31:22 -04:00
Vladimir Mandic e129e83276 updatr gradio 2023-05-22 08:42:47 -04:00
Vladimir Mandic d647bb5c05 minor updates 2023-05-21 18:49:07 -04:00
Vladimir Mandic 4c4e147baa fully localize data-dir 2023-05-19 15:23:26 -04:00
Vladimir Mandic 1dffd114fc fix vae loading 2023-05-17 15:38:12 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic 8a9eb2c766 add test script 2023-05-15 08:44:03 -04:00
Vladimir Mandic c46f0dbdeb fix 2023-05-13 12:55:50 -04:00
Vladimir Mandic 8062f9197d run without checkpoint 2023-05-09 09:09:31 -04:00
Vladimir Mandic 1360c6422a add fp16 test 2023-05-08 09:27:50 -04:00
Vladimir Mandic b71869adfa lora messages 2023-05-05 10:09:25 -04:00
Vladimir Mandic 99dc75c09b readd api docs 2023-05-05 09:28:44 -04:00
Vladimir Mandic a677253b7c add api-logo workaround 2023-05-04 10:45:25 -04:00
Vladimir Mandic 303574ebfc draft full merge from upstream 2023-05-04 09:27:48 -04:00
Vladimir Mandic 5d8c787a7b restart server redesign 2023-05-03 17:20:22 -04:00
Vladimir Mandic 6f976c358f optimize model load 2023-05-02 21:30:34 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Vladimir Mandic eaea88a444 update 2023-05-01 21:03:10 -04:00
Vladimir Mandic 10a9c2760a switch cmdargs 2023-05-01 19:49:19 -04:00
Vladimir Mandic d4a748d758 update requirements 2023-05-01 12:25:35 -04:00
Vladimir Mandic 4dc5941912 fix embedding logging 2023-04-30 21:01:49 -04:00
Vladimir Mandic 7eb82e2627 remove circular imports from installer 2023-04-30 12:21:32 -04:00
Disty0 68fc95b2e1 Merge remote-tracking branch 'upstream/master' 2023-04-30 18:28:22 +03:00
Disty0 de8d0bef9f More patches and Import IPEX after Torch 2023-04-30 18:19:37 +03:00
Vladimir Mandic 682330b172 new command line parser 2023-04-30 10:54:59 -04:00
Vladimir Mandic ba50dbbdbf add memory monitor 2023-04-29 17:36:45 -04:00
Vladimir Mandic 99e3fceedb cleanup scripts 2023-04-28 13:09:34 -04:00
Vladimir Mandic def7a02d82 add asyncio handler 2023-04-26 16:08:56 -04:00
Vladimir Mandic 93b0de7e59 update rollback vae 2023-04-26 09:02:32 -04:00
Vladimir Mandic 2453139879 reorder setup items 2023-04-25 19:36:41 -04:00
Vladimir Mandic 20b64aad7b update samplers 2023-04-24 16:16:52 -04:00
Sakura-Luna 458a78e4de
Merge branch 'master' into pr9295 2023-04-24 13:19:57 +08:00
Vladimir Mandic e6e296a304 fix lora/lyco dir 2023-04-22 09:05:26 -04:00
Vladimir Mandic 0e7144186d jump patch 2023-04-20 11:20:27 -04:00
Vladimir Mandic 93a9e7ba16 fix logger 2023-04-19 14:11:25 -04:00
Vladimir Mandic 955b841d0f fix temp folder 2023-04-19 10:59:20 -04:00
Vladimir Mandic 2711e32c2e add script/extension priorty 2023-04-18 09:32:26 -04:00
Vladimir Mandic a975a6a03d disable gradio queues on demand 2023-04-18 08:06:16 -04:00
Vladimir Mandic 58df74cfd5 new middleware handler and ability to restart server on-the-fly 2023-04-16 15:57:00 -04:00
Vladimir Mandic b7e4b0414a fix loading gradio theme 2023-04-16 10:01:28 -04:00
Vladimir Mandic 26034bf1a4
Merge branch 'master' into gradio-theme-support 2023-04-16 08:18:44 -04:00
Vladimir Mandic dd25f2f515 update setup 2023-04-15 17:22:58 -04:00
Vladimir Mandic fd51bb90d0 enable quick launch 2023-04-15 11:51:58 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic bf949a5307 strict linting template 2023-04-14 21:27:29 -04:00
Vladimir Mandic 27302938f1 update gradio and enhance tracebacks 2023-04-14 14:20:37 -04:00
Vladimir Mandic 463a7811c7 fix ti previews on initial start 2023-04-14 12:40:46 -04:00
Vladimir Mandic 614b482ee3 major installer work 2023-04-13 11:19:15 -04:00
Vladimir Mandic 4f2b7268ca venv fixes 2023-04-13 07:24:26 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Sakura-Luna d19d227138
Add startup parameters and version check 2023-04-06 19:52:18 +08:00
Vladimir Mandic 8cc3a64201 redo timers 2023-04-04 10:18:39 -04:00
Vladimir Mandic 6f854a0c05 post-merge cleanup 2023-03-27 10:47:35 -04:00
AUTOMATIC 5cf3822e46 Revert "Merge pull request #8651 from vladmandic/flicker"
This reverts commit 8402682118, reversing
changes made to e8bbc344c3.
2023-03-27 08:18:28 +03:00
space-nuko c9647c8d23 Support Gradio's theme API 2023-03-25 16:11:41 -04:00
AUTOMATIC1111 d9b9bf78b3
Merge pull request #8508 from vladmandic/lightning
allow usage of latest pytorch_lighning
2023-03-25 14:03:59 +03:00
AUTOMATIC1111 8402682118
Merge pull request #8651 from vladmandic/flicker
disable gradio css transitions
2023-03-25 11:05:50 +03:00
AUTOMATIC af2db25c84 enable queue by default
more stylistic changes
2023-03-25 09:00:37 +03:00
Vladimir Mandic 250193ee93
disable gradio css transitions 2023-03-15 10:14:40 -04:00
Vladimir Mandic f2ed6295b9
make it module specific 2023-03-14 07:46:09 -04:00
AUTOMATIC dfeee786f9 display correct timings after restarting UI 2023-03-12 21:25:22 +03:00
Vladimir Mandic fc4d593b4e
fix import 2023-03-12 08:51:12 -04:00
Vladimir Mandic 29ce0bf4f2
allow usage of latest fastapi 2023-03-11 12:01:08 -05:00
Vladimir Mandic fb088bfb64
all usage of newer pytorch_lighning 2023-03-11 11:13:21 -05:00
AUTOMATIC 52dcf0f0c7 record startup time 2023-03-11 16:27:58 +03:00
Ju1-js fc3063d9b9
Remove unnecessary line 2023-03-01 18:25:23 -08:00
Ju1-js 7990ed92be
Slash was facing the wrong way 2023-02-28 22:05:47 -08:00
Ju1-js 1e30e4d9eb Gradio auth logic fix - Handle empty/newlines
When the massive one-liner was split into multiple lines, it lost the ability to handle newlines. This removes empty strings & newline characters from the logins. It also closes the file so it's more robust if the garbage collection function is ever changed.
2023-02-28 15:55:12 -08:00
AUTOMATIC d84f3cf7a7 split #7300 into multiple lines 2023-02-19 13:11:48 +03:00
AUTOMATIC1111 c3d5a6ed37
Merge pull request #7300 from Ju1-js/master
Gradio Auth - Read from External File
2023-02-19 13:02:05 +03:00
AUTOMATIC1111 2a4f893570
Merge pull request #7727 from missionfloyd/face-restore-setting
Fix face restorers setting
2023-02-19 10:14:42 +03:00
Vladimir Mandic 9c7e6d5bba
store and print real torch version 2023-02-18 11:31:02 -05:00
missionfloyd bf9b1d64a3 Fix face restorers setting 2023-02-10 15:27:08 -07:00
AUTOMATIC ee9fdf7f62 Add --skip-version-check to disable messages asking users to upgrade torch. 2023-01-30 14:56:28 +03:00
AUTOMATIC 1d8e06d542 add checkpoints tab for extra networks UI 2023-01-28 22:52:27 +03:00
Ju1-js dc25a31d1a Gradio Auth Read from External File
Usage: `--gradio-auth-path {PATH}`
It adds the credentials to the already existing `--gradio-auth` credentials. It can also handle line breaks.
The file should look like:
`{u1}:{p1},{u2}:{p2}`
or
```
{u1}:{p1},
{u2}:{p2}
```
Will gradio handle duplicate credentials if it happens?
2023-01-27 22:43:10 -08:00
Max Audron 6b3981c068 clean up unused script_path imports 2023-01-27 14:44:34 +01:00
AUTOMATIC 865af20d8a suppress A matching Triton is not available message
you can all now stop worrying about it
2023-01-23 21:28:59 +03:00
AUTOMATIC 7ff1ef77dd add a message about new torch/xformers version and a way to upgrade by specifying a commandline flag 2023-01-23 17:17:31 +03:00
AUTOMATIC 68303c96e5 split oversize extras.py to postprocessing.py 2023-01-22 15:38:39 +03:00
AUTOMATIC 63b824376c add --gradio-queue option to enable gradio queue 2023-01-21 18:47:54 +03:00
AUTOMATIC 855b9e3d1c Lora support!
update readme to reflect some recent changes
2023-01-21 16:15:53 +03:00
AUTOMATIC 40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
AUTOMATIC 26fd444811 bump gradio to 3.16.2
change style selection to multiselect dropdown
2023-01-18 13:59:45 +03:00
AUTOMATIC d8b90ac121 big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other 2023-01-15 18:51:04 +03:00
AUTOMATIC 6eb72fd13f bump gradio to 3.16.1 2023-01-14 13:38:10 +03:00
AUTOMATIC a95f135308 change hash to sha256 2023-01-14 09:56:59 +03:00
AUTOMATIC 1fbb6f9ebe make a dropdown for prompt template selection 2023-01-09 23:35:40 +03:00
brkirch 5e6566324b Always end version number with a digit 2023-01-06 07:06:26 -05:00
AUTOMATIC 65ed4421e6 add callback for when the script is unloaded 2023-01-06 13:55:50 +03:00
AUTOMATIC1111 85fa4eacea
Merge pull request #6402 from brkirch/work-with-nightly-local-builds
Add support for using PyTorch nightly and local builds
2023-01-06 07:51:45 +03:00
brkirch 8111b5569d Add support for PyTorch nightly and local builds 2023-01-05 20:54:52 -05:00
AUTOMATIC1111 b7deea47ee
Merge pull request #5774 from AUTOMATIC1111/camenduru-patch-1
allow_credentials and allow_headers for api
2023-01-04 19:26:49 +03:00
AUTOMATIC 02d7abf514 helpful error message when trying to load 2.0 without config
failing to load model weights from settings won't break generation for currently loaded model anymore
2023-01-04 12:35:07 +03:00
AUTOMATIC 2d5a5076bb Make it so that upscalers are not repeated when restarting UI. 2023-01-03 18:38:21 +03:00
AUTOMATIC1111 fac92610d2
Merge pull request #5753 from calvinballing/master
Fix various typos
2022-12-24 09:58:28 +03:00
Akiba 35e1017e3e
fix: xformers 2022-12-16 20:43:09 +08:00
camenduru 9fd457e21d
allow_credentials and allow_headers for api
from https://fastapi.tiangolo.com/tutorial/cors/
2022-12-15 21:57:48 +03:00
Jim Hays c0355caefe Fix various typos 2022-12-14 21:01:32 -05:00
Pi Esposito fcf372e5d0
set default to avoid breaking stuff 2022-12-04 14:13:31 -03:00
Pi Esposito 12ade469c8
add queuing by default to avoid timeout on client side when share=True 2022-12-04 12:33:15 -03:00
AUTOMATIC b6e5edd746 add built-in extension system
add support for adding upscalers in extensions
move LDSR, ScuNET and SwinIR to built-in extensions
2022-12-03 18:06:33 +03:00
AUTOMATIC 0b5dcb3d7c fix an error that happens when you type into prompt while switching model, put queue stuff into separate file 2022-11-28 09:00:10 +03:00
AUTOMATIC1111 9e78d2c419
Merge pull request #4416 from Keavon/cors-regex
Add CORS-allow policy launch argument using regex
2022-11-27 18:50:12 +03:00
AUTOMATIC b006382784 serve images from where they are saved instead of a temporary directory
add an option to choose a different temporary directory in the UI
add an option to cleanup the selected temporary directory at startup
2022-11-27 11:52:53 +03:00
AUTOMATIC ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
Keavon Chambers 2f90496b19
Merge branch 'master' into cors-regex 2022-11-19 10:34:31 -08:00
AUTOMATIC1111 ccd73fc186
Merge pull request #4717 from papuSpartan/security
Add --server-name to the list of arguments considered insecure
2022-11-19 15:31:09 +03:00
Muhammad Rizqi Nur 0663706d44 Option to use selected VAE as default fallback instead of primary option 2022-11-19 11:49:06 +07:00
papuSpartan 3405acc6a4 Give --server-name priority over --listen and add check for --server-name in addition to --share and --listen 2022-11-14 14:07:13 -06:00
Keavon Chambers a258fd60db Add CORS-allow policy launch argument using regex 2022-11-07 00:13:58 -08:00
AUTOMATIC e5b4e3f820 add tags to extensions, and ability to filter out tags
list changed Settings keys in UI
do not print VRAM/etc stats everywhere but in calls that use GPU
2022-11-06 10:12:53 +03:00
AUTOMATIC a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
AUTOMATIC1111 37ba0070ec
Merge branch 'master' into feat/allow-origins 2022-11-05 16:20:40 +03:00
papuSpartan a02bad570e rm dbg 2022-11-05 04:14:21 -05:00
papuSpartan e9a5562b9b add support for tls (gradio tls options) 2022-11-05 04:06:51 -05:00
evshiron b8435e632f add --cors-allow-origins cmd opt 2022-11-05 02:36:47 +08:00
AUTOMATIC 5f01171543 shut down gradio's "everything allowed" CORS policy; I checked the main functionality to work with this, but if this breaks some exotic workflow, I'm sorry. 2022-11-04 10:07:29 +03:00
AUTOMATIC1111 675b51ebd3
Merge pull request #3986 from R-N/vae-picker
VAE Selector
2022-11-02 14:12:27 +03:00
Maiko Tan dd2108fdac
fix: should invoke callback as well in api only mode 2022-11-02 15:04:35 +08:00
Muhammad Rizqi Nur 056f06d373 Reload VAE without reloading sd checkpoint 2022-11-02 12:51:46 +07:00
Muhammad Rizqi Nur f8c6468d42
Merge branch 'master' into vae-picker 2022-11-02 00:25:08 +07:00
AUTOMATIC1111 f126986b76
Merge pull request #4098 from jn-jairo/load-model
Unload sd_model before loading the other to solve the issue #3449
2022-11-01 13:54:00 +03:00
AUTOMATIC1111 0874404040
Merge pull request #3982 from MaikoTan/on-started-callback
feat: add app started callback
2022-11-01 13:47:47 +03:00
Jairo Correa af758e97fa Unload sd_model before loading the other 2022-11-01 04:01:49 -03:00
AUTOMATIC 58cc03edd0 fix scripts I broke with the extension tab changes 2022-10-31 18:40:47 +03:00
AUTOMATIC 910a097ae2 add initial version of the extensions tab
fix broken Restart Gradio button
2022-10-31 17:37:02 +03:00
Muhammad Rizqi Nur cb31abcf58 Settings to select VAE 2022-10-30 21:54:31 +07:00
Maiko Tan 423f222283
feat: add app started callback 2022-10-30 22:46:43 +08:00
AUTOMATIC 149784202c rework #3722 to not introduce duplicate code 2022-10-30 09:10:22 +03:00
AUTOMATIC 876a96f0f9 remove erroneous dir in the extension directory
remove loading .js files from scripts dir (they go into javascript)
load scripts after models, for scripts that depend on loaded models
2022-10-24 09:39:46 +03:00
不会画画的中医不是好程序员 68931242cf
Merge branch 'AUTOMATIC1111:master' into Inspiron 2022-10-24 14:09:27 +08:00
w-e-w 696cb33e50 after initial launch, disable --autolaunch for subsequent restarts 2022-10-23 12:34:16 +03:00
yfszzx 6a9ea40d7f Move browser and Inspiration into extension 2022-10-23 16:17:37 +08:00
AUTOMATIC 2b91251637 removed aesthetic gradients as built-in
added support for extensions
2022-10-22 12:23:58 +03:00
yfszzx bb0f1a2cda inspiration finished 2022-10-22 01:23:00 +08:00
Stephen 5f4fec307c [Bugfix][API] - Fix API arg in launch script 2022-10-21 09:50:57 +03:00
yfszzx d07cb46f34 inspiration pull request 2022-10-20 23:58:52 +08:00
discus0434 42fbda83bb layer options moves into create hnet ui 2022-10-19 14:30:33 +00:00
discus0434 5d16f59794
Merge branch 'master' into master 2022-10-19 14:56:27 +09:00
discus0434 6021f7a75f add options to custom hypernetwork layer structure 2022-10-19 00:51:36 +09:00
arcticfaded 8d5d863a9d gradio and FastAPI 2022-10-18 06:51:53 +00:00
Ryan Voots 1df3ff25e6 Add --nowebui as a means of disabling the webui and run on the other port 2022-10-18 08:44:50 +03:00
Ryan Voots c3851a853d Re-use webui fastapi application rather than requiring one or the other, not both. 2022-10-18 08:44:50 +03:00
AUTOMATIC d42125baf6 add missing requirement for api and fix some typos 2022-10-17 11:50:20 +03:00
AUTOMATIC 964b63c042 add api() function to return webui() to how it was 2022-10-17 11:38:32 +03:00
Jonathan f3fe487e63 Update webui.py 2022-10-17 11:34:22 +03:00
arcticfaded 60251c9456 initial prototype by borrowing contracts 2022-10-17 11:34:22 +03:00