AUTOMATIC1111
7348440524
Merge pull request #11569 from ramyma/hotfix-api-cache
...
Hotfix: API cache cleanup
2023-07-08 13:09:20 +03:00
Nelson Chen
a369a0cf65
Add a link to an index-able/crawl-able wiki mirroring service of the wiki
...
At the moment, the wiki is editable by GitHub users, so it is blocked from indexing. If you are searching for something related to this repo, Google and other search engines will not use the content for it.
This link hack just sticks a link on the README so search engines may prioritize it. At the moment, 0 pages from GitHub are index and only 7 pages from my proxy service are. If you add this, the rest should get indexed.
An indexable page looks like this: https://github-wiki-see.page/m/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings . It is not meant to be read, just indexed, and users are expected to click through to the GitHub copy.
https://github-wiki-see.page/ has more information about the situation. I built the tool and I'm happy to answer any questions I can.
Similar: https://github.com/MiSTer-devel/Main_MiSTer#main_mister-main-binary-and-wiki-repo:~:text=For%20the%20purposes%20of%20getting%20google%20to%20crawl%20the%20wiki%2C%20here%27s%20a%20link%20to%20the%20(not%20for%20humans)%20crawlable%20wiki
2023-07-07 09:04:49 -07:00
gitama2023
f439179641
Added a prompt for users using poor scaling
...
Added a JavaScript file that detects browser scaling and prompts users when scale is not 100%
2023-07-07 16:18:01 +08:00
Neil Mahseth
c258dd34a8
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
...
The code snippet print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a')) raises a UnicodeEncodeError with the message "'charmap' codec can't encode character '\u016b' in position 129". This error occurs because the default encoding used by the open() function cannot handle certain Unicode characters.
To fix this issue, the encoding parameter needs to be explicitly specified when opening the file. By using an appropriate encoding, such as 'utf-8', we can ensure that Unicode characters are properly encoded and written to the file.
The updated code should be modified as follows:
python
Copy code
print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a', encoding='utf-8'))
By making this change, the code will no longer raise the UnicodeEncodeError and will correctly handle Unicode characters during the file write operation.
2023-07-06 22:02:47 +05:30
jovijovi
259967b7c6
fix(api): convert to "RGB" if image mode is "RGBA"
2023-07-06 18:43:17 +08:00
Hao-Wu
daf41a2734
Fix warning of 'has_mps' is deprecated from PyTorch
2023-07-06 15:37:10 +08:00
semjon00
fb661e089f
Fix throwing exception when trying to resize image with I;16 mode
2023-07-05 15:39:04 +03:00
missionfloyd
c602471b85
Allow gif for extra network previews
2023-07-05 03:19:26 -06:00
Danil Boldyrev
f325783abd
made the blur function optional, added exclusion buttons
2023-07-04 22:26:43 +03:00
missionfloyd
f731a728c6
Check seed_resize_from <= 0
2023-07-03 11:41:10 -06:00
ramyma
c1c0492859
Use contextlib for closing the generation process
2023-07-03 20:17:47 +03:00
ramyma
3278887317
Handle cleanup in case there's an exception thrown
2023-07-03 20:02:30 +03:00
Aarni Koskela
5c6a33b3e1
read_info_from_image: don't mutate info in passed-in image
2023-07-03 13:10:42 +03:00
Aarni Koskela
96f0593c8f
read_info_from_image: add type
2023-07-03 13:10:20 +03:00
Aarni Koskela
b2c574891f
read_info_from_image: add photoshop
to ignored
2023-07-03 13:09:37 +03:00
Aarni Koskela
08f9b705cd
Use read_info_from_image in postprocessing
...
Avoids bad keys such as `exif` ending up in the "PNG info" passed forward
2023-07-03 13:08:28 +03:00
Aarni Koskela
522a8b9f62
Add a status logger in modules.shared
2023-07-03 11:07:57 +03:00
Aarni Koskela
e430344347
API: use finally: for state.end()
2023-07-03 11:03:41 +03:00
Aarni Koskela
f44feb6a10
Add job argument to State.begin()
2023-07-03 11:03:41 +03:00
Aarni Koskela
b70001e618
Add SD_WEBUI_LOG_LEVEL envvar
2023-07-03 11:03:41 +03:00
Frank Tao
e33e2c5175
Update webui.sh
2023-07-03 03:17:27 -04:00
onyasumi
5a32d4fcb1
Fix launch script to be runnable from any directory
2023-07-03 07:15:19 +00:00
Danil Boldyrev
8519d52ef5
fixing the copy/paste function, correct code
2023-07-02 19:20:49 +03:00
ramyma
74d001bc68
Hotfix: call processing close to cleanup API generation calls
2023-07-02 04:59:59 +03:00
missionfloyd
7f46f81dd7
Change default seed_resize to 0
2023-07-01 17:20:56 -06:00
gshawn3
8a07c59baa
fix for #11534 : canvas zoom and pan extension hijacking shortcut keys
2023-06-30 03:49:26 -07:00
w-e-w
2ccc832b33
add extensions Update Created dates with sorting
2023-06-29 22:46:59 +09:00
Akiba
0416a7bfba
fix can't get current hash
2023-06-29 18:46:52 +08:00
w-e-w
b1c6e39620
starts left
2023-06-29 19:25:34 +09:00
w-e-w
d47324b898
add stars
2023-06-29 19:25:18 +09:00
hunshcn
0bc0e652a3
sync default value of process_focal_crop_entropy_weight between ui and api
2023-06-29 18:12:55 +08:00
w-e-w
cc9c171978
rename --add-stop-route to --api-server-stop
2023-06-29 14:21:28 +09:00
missionfloyd
0b0767939d
Correctly remove end parenthesis with ctrl+up/down
2023-06-28 17:51:27 -06:00
w-e-w
9c2a7f1e8b
add callback after_extra_networks_activate
2023-06-29 02:08:21 +09:00
NoCrypt
f74fb50495
Move change colors options to Saving images/grids
2023-06-28 20:24:57 +07:00
NoCrypt
d22eb8a17f
Fix lint
2023-06-28 17:57:34 +07:00
NoCrypt
45ab7475d6
Revision
2023-06-28 17:55:58 +07:00
catalpaaa
24d4475bdb
fixing --subpath on newer gradio version
2023-06-28 03:15:01 -07:00
hako-mikan
b0ec69b360
add 'before_hr callback' script callback
2023-06-28 18:37:08 +09:00
NoCrypt
da14f6a663
Add options to change colors in grid
2023-06-28 10:16:44 +07:00
Beinsezii
9d8af4bd6a
Merge branch 'AUTOMATIC1111:dev' into dev
2023-06-27 15:29:47 -07:00
AUTOMATIC1111
fab73f2e7d
Merge pull request #11325 from stablegeniusdiffuser/dev-batch-grid-metadata
...
Add parameter to differentiate between batch run grids or ordinary images to write proper metadata
2023-06-27 14:23:39 +03:00
AUTOMATIC1111
1bf01b73f4
Merge pull request #11046 from akx/ded-code
...
Remove a bunch of unused/vestigial code
2023-06-27 11:25:55 +03:00
AUTOMATIC
d06af4e517
fix and rework #11113
2023-06-27 09:26:18 +03:00
AUTOMATIC1111
a96687682a
Merge pull request #11113 from stevensu1977/master
...
add model exists status check /sdapi/v1/options #11112
2023-06-27 09:24:12 +03:00
AUTOMATIC1111
0b97ae2832
Merge branch 'dev' into master
2023-06-27 09:23:15 +03:00
AUTOMATIC1111
3cd4fd51ef
Merge pull request #10823 from akx/model-loady
...
Upscaler model loading cleanup
2023-06-27 09:20:49 +03:00
AUTOMATIC1111
d4f9250c5a
Merge pull request #11201 from akx/ruff-upg
...
Upgrade Ruff to 0.0.272
2023-06-27 09:19:55 +03:00
AUTOMATIC
24129368f1
send tensors to the correct device when loading from safetensors file with memmap disabled for #11260
2023-06-27 09:19:04 +03:00
AUTOMATIC1111
14196548c5
Merge pull request #11260 from dhwz/dev
...
fix very slow loading speed of .safetensors files
2023-06-27 09:11:08 +03:00