1
0
Fork 0
Commit Graph

359 Commits

Author SHA1 Message Date
Sean Sube 9e31445ccc feat(gui): add invert button to inpaint mask (fixes #65) 2023-01-19 21:20:44 -06:00
Sean Sube 99982c6a19 fix(gui): align background image when it is larger than canvas 2023-01-19 19:59:35 -06:00
Sean Sube 3bcd7a8156 feat: add ROCm provider to list (#10) 2023-01-19 17:38:26 -06:00
Sean Sube 137a5a84cc lint(gui): outline generate buttons 2023-01-19 17:34:35 -06:00
Sean Sube f1484dc075 fix(gui): mask canvas should not tile small images 2023-01-19 17:34:26 -06:00
Sean Sube 5e23f84e5a fix(gui): draw single clicks and avoid blending mask with itself 2023-01-19 17:18:59 -06:00
Sean Sube df7bba47dd fix(gui): prevent client image history from accumulating indefinitely 2023-01-19 17:18:04 -06:00
Sean Sube 50fe17bce1 fix(gui): set a reasonable timeout on the initial params fetch 2023-01-19 17:17:43 -06:00
Sean Sube 46026d9aa0 fix(gui): swap toggle buttons for decent checkboxes 2023-01-19 08:35:06 -06:00
Sean Sube 5ec32d8324 lint(gui): add border to mask canvas 2023-01-18 17:09:22 -06:00
Sean Sube b66cb8fcd6 fix(gui): use blur event on fill color for better perf 2023-01-18 17:09:10 -06:00
Sean Sube 0055d06b01 lint(gui): replace outscaling icon 2023-01-18 17:08:37 -06:00
Sean Sube 303adcb693 lint(gui): use alert and typography blocks 2023-01-18 17:08:11 -06:00
Sean Sube 3679735d86 feat: add fill color control to inpaint 2023-01-18 08:41:02 -06:00
Sean Sube d6f2c626f6 fix(gui): only show inpaint image once 2023-01-18 08:24:53 -06:00
Sean Sube a074078cec lint(gui): sort components into dirs 2023-01-18 08:07:22 -06:00
Sean Sube 7b49b551d5 fix(gui): add server version indicator to settings 2023-01-18 08:01:59 -06:00
Sean Sube d402db8509 feat(gui): add API server to settings 2023-01-18 07:20:12 -06:00
Sean Sube 87bf27ea64 lint(gui): move root fn to config module 2023-01-18 00:01:32 -06:00
Sean Sube 20ed8f60dc fix(gui): make all image cards show at the default size 2023-01-17 23:06:35 -06:00
Sean Sube 521fa88e05 fix(gui): send blend strength for inpainting 2023-01-17 23:06:15 -06:00
Sean Sube be3a17b2ff feat: add version check to parameters 2023-01-17 23:06:04 -06:00
Sean Sube 4d9dc05cd0 lint(api): improve logging while upscaling 2023-01-17 22:30:25 -06:00
Sean Sube dc84becf69 fix(gui): do not persist upscale image source 2023-01-17 21:53:32 -06:00
Sean Sube 7c60621fe2 fix(gui): disable face correction strength slider when option is not selected 2023-01-17 17:59:26 -06:00
Sean Sube 691aeabfd9 feat(gui): add blend strength to inpainting controls 2023-01-17 17:59:07 -06:00
Sean Sube d2c7fa97e7 fix(gui): remove unused strength param from upscale 2023-01-17 17:51:25 -06:00
Sean Sube 4aeee60b19 feat: add upscaling tab and endpoint 2023-01-16 23:45:54 -06:00
Sean Sube 0e27cc830d fix: send missing model params, add face strength control 2023-01-16 22:54:01 -06:00
Sean Sube 83f2e872f6 lint(gui): make labels more consistent 2023-01-16 22:39:03 -06:00
Sean Sube c6ce43b00d back to single GFPGAN, fix some paths 2023-01-16 21:55:54 -06:00
Sean Sube 03e06193eb attempt to fix face correction at various scales 2023-01-16 21:36:50 -06:00
Sean Sube d52c22e58b feat: add additional Real ESRGAN models, strings for them 2023-01-16 20:38:16 -06:00
Sean Sube 7cd0345cd2 fix(gui): correct menu state for additional models 2023-01-16 20:25:27 -06:00
Sean Sube 0080d86d91 feat(gui): add menus for upscaling and correction models 2023-01-16 20:11:10 -06:00
Sean Sube 4615614e5e fix(gui): reduce rendering when adjusting image controls 2023-01-16 16:28:16 -06:00
Sean Sube 5d2c22a64a fix(gui): only send upscaling params when it is enabled 2023-01-16 15:22:43 -06:00
Sean Sube 8d3ebede5a feat: add outscaling option 2023-01-16 14:52:56 -06:00
Sean Sube 5e5d748c0b fix(gui): send upscale params 2023-01-16 14:17:28 -06:00
Sean Sube 4dafda7d11 lint(gui): move API client out of its lonely dir 2023-01-16 14:10:15 -06:00
Sean Sube 3a3e92abb6 fix(gui): correct state for face correction button 2023-01-16 14:07:57 -06:00
Sean Sube d1e4fa9cf1 feat: add upscale controls to client, params to server 2023-01-16 14:05:04 -06:00
Sean Sube 4d6560aaba fix(gui): read image size from its own field 2023-01-16 07:31:59 -06:00
Sean Sube ae8b26fa8f chore: bump package versions 2023-01-15 15:13:47 -06:00
Sean Sube 5bb3f6c558 feat: add noise source with solid color 2023-01-15 14:26:04 -06:00
Sean Sube 40080ad46b feat: add gaussian multiply to mask filters 2023-01-15 14:04:54 -06:00
Sean Sube f00f36b5b1 feat(gui): add update instructions to error screen 2023-01-15 13:58:29 -06:00
Sean Sube 0d919bdb11 lint(gui): set histogram noise to the default 2023-01-15 11:16:39 -06:00
Sean Sube 2a30a04e46 feat(gui): add selector for mask filter 2023-01-15 11:10:02 -06:00
Sean Sube 1c2c8b2689 fix(gui): correct label for blur mode 2023-01-15 10:49:26 -06:00
Sean Sube c0bef9a1a7 lint(gui): arrange noise and blend menus side by side 2023-01-15 09:40:21 -06:00
Sean Sube d3ad43bef4 feat(gui): add menus for noise source and blend mode 2023-01-15 09:34:17 -06:00
Sean Sube 0d53fdfe53 feat(gui): add fill with white, toggle for outpainting 2023-01-14 18:30:27 -06:00
Sean Sube 6cd98bb960 feat(gui): add outpainting to API client and state 2023-01-14 18:07:05 -06:00
Sean Sube 26a8ce7095 fix(gui): send strength for img2img requests 2023-01-14 17:06:45 -06:00
Sean Sube 9e2921d3de feat(gui): add outpainting dimension controls to inpaint tab 2023-01-14 17:00:53 -06:00
Sean Sube c09eb75ab4 fix(gui): improve API link example 2023-01-14 11:41:32 -06:00
Sean Sube 65f2f4d953 feat(gui): add error message when server is not available (fixes #48) 2023-01-14 11:25:53 -06:00
Sean Sube 3ad3299734 feat(gui): replace mask to grayscale with fill button 2023-01-14 10:50:30 -06:00
Sean Sube d5c68811d6 lint(gui): move delete button to last position on card 2023-01-14 10:25:18 -06:00
Sean Sube 028d39c808 feat(gui): add copy to source buttons to image card 2023-01-14 10:20:05 -06:00
Sean Sube 56ac6c6bc7 feat(gui): add slider for brush strength (fixes #30) 2023-01-14 00:32:21 -06:00
Sean Sube a87dc451fd feat(gui): show mask brush preview (fixes #39) 2023-01-14 00:07:02 -06:00
Sean Sube e915ab5b8d feat(gui): show source behind mask with offscreen painting 2023-01-13 23:38:43 -06:00
Sean Sube f83499763a feat(gui): get API root from query string if available 2023-01-13 21:29:34 -06:00
Sean Sube 2e5c7867a4 fix(gui): load config relative to current page (fixes #43) 2023-01-13 21:29:34 -06:00
Sean Sube c0af709ab1 lint(gui): remove console logging 2023-01-13 21:29:34 -06:00
Sean Sube 4dc915d5c9 fix(gui): prevent mask canvas from going into a save loop 2023-01-13 21:29:34 -06:00
Sean Sube d5f8838ceb fix(gui): avoid saving mask while actively painting 2023-01-13 21:29:34 -06:00
Sean Sube 1183216a83 feat(gui): split mask canvas into its own component 2023-01-13 21:29:34 -06:00
Sean Sube 4e82241491 feat(gui): save source and mask images while changing tabs 2023-01-13 21:29:34 -06:00
Sean Sube fa639efff3 fix(gui): invalidate loading query after mutations 2023-01-13 10:14:18 -06:00
Sean Sube 64801a52e3 lint(gui): build API URLs consistently 2023-01-13 10:14:18 -06:00
Sean Sube eec44eb9fd lint(build): always run bundle target 2023-01-13 10:14:18 -06:00
Sean Sube b477a9937c feat: move API routes under prefix 2023-01-13 10:14:18 -06:00
Sean Sube 600ebae73a fix(gui): clear loading data after card leaves 2023-01-13 10:14:18 -06:00
Sean Sube c36daddf66 feat(gui): implement image polling on the client 2023-01-13 10:14:18 -06:00
Sean Sube 1bb0a3aed8 fix(gui): disable react profiling in default bundle 2023-01-12 18:18:51 -06:00
Sean Sube f9bcc5d4e4 lint(gui): move context into state module 2023-01-12 18:10:46 -06:00
Sean Sube 7885bbfbdd fix(gui): history is not iterable error when loading existing state 2023-01-12 17:57:43 -06:00
Sean Sube 68eb8eb9b2 fix(gui): restore delete image button 2023-01-12 17:51:34 -06:00
Sean Sube 689a6a183f fix(gui): break up state into slices for each tab 2023-01-12 17:49:51 -06:00
Sean Sube 35e2e1dda6 fix(gui): improve performance while using image controls 2023-01-12 00:11:05 -06:00
renovate[bot] c328ac3950 chore(deps): update dependency eslint-plugin-sonarjs to ^0.18.0 2023-01-11 22:24:13 -06:00
Sean Sube ef33301d6b fix(gui): send CFG to API as decimal 2023-01-11 21:46:04 -06:00
Sean Sube dcfce81fed fix(gui): do not persist loading flag 2023-01-11 21:45:47 -06:00
Sean Sube 25b64cc3b0 lint(gui): add component keys, remove some arrow fns 2023-01-11 21:45:31 -06:00
Sean Sube f2b2366c91 chore(release): 0.3.0 2023-01-11 20:50:57 -06:00
Sean Sube 662bf42454 feat(gui): share image history between tabs, add setting to adjust length of history (fixes #22) 2023-01-10 22:35:55 -06:00
Sean Sube 07fa81a66b feat(gui): persist image control state (fixes #11) 2023-01-10 20:43:14 -06:00
Sean Sube 63758b0e21 fix(gui): default mask brush to white/full replacement 2023-01-09 23:26:01 -06:00
Sean Sube 4a6458d8f6 fix(gui): consistently load image controls from server params 2023-01-09 23:16:28 -06:00
Sean Sube 37efd51341 feat(gui): load and merge server params with config 2023-01-09 22:59:08 -06:00
Sean Sube 6b3c0fea45 fix(gui): handle cancel from file input 2023-01-08 22:50:53 -06:00
Sean Sube 5a58a96a2a lint(gui): improve client request throttling 2023-01-08 22:49:49 -06:00
Sean Sube f49fc960c9 feat(gui): display source images after selection 2023-01-08 22:15:58 -06:00
Sean Sube 1e2321f843 lint(gui): clean up inpainting constants, styles 2023-01-08 21:14:24 -06:00
Sean Sube 5e712923db feat(gui): implement mask painting, flood fill 2023-01-08 20:54:52 -06:00
Sean Sube 2ff4aee887 fix(gui): allow decimal steps for CFG 2023-01-08 20:54:10 -06:00
Sean Sube 15ab44f2ad feat(gui): add inpaint call to API client 2023-01-08 18:11:07 -06:00
Sean Sube 11b9295efc feat(gui): add inpaint tab and basic image mask component 2023-01-08 17:56:00 -06:00
Sean Sube 1aa2181d90 fix(gui): move seed control onto same line with cfg and steps 2023-01-08 17:09:14 -06:00
Sean Sube 760b162a55 fix: bump package versions to 0.2.1 2023-01-08 15:26:43 -06:00
Sean Sube 477d89b6fc fix(gui): allow max safe seed constant 2023-01-08 15:02:59 -06:00
Sean Sube d1768b1bd1 chore(release): 0.2.0 2023-01-08 14:55:17 -06:00
Sean Sube 3dfbb0061b fix(gui): limit seed to safe values, prep for more settings 2023-01-08 14:25:25 -06:00
Sean Sube c5e0439aa5 feat(gui): add sliders to numeric inputs 2023-01-08 13:32:07 -06:00
Sean Sube d5c4040b07 fix(gui): handle decimal inputs correctly 2023-01-08 13:25:02 -06:00
Sean Sube 2328c5f46a feat(gui): add strength to img2img controls 2023-01-08 13:14:57 -06:00
Sean Sube f2e2b20f18 feat: implement negative prompts 2023-01-08 13:05:02 -06:00
Sean Sube fc988e4b5b fix(gui): bind dev server to localhost by default, open binding in containers 2023-01-08 09:46:13 -06:00
Sean Sube 33fd5f1b53 fix(gui): add strings for more stable diffusion models, nvidia GPUs 2023-01-08 09:07:30 -06:00
Sean Sube 93e53f6dc3 feat: make additional schedulers available in UI 2023-01-08 08:19:24 -06:00
Sean Sube 4894e0ddd6 fix(gui): send seed with img2img requests 2023-01-07 21:53:04 -06:00
Sean Sube e4542031c4 fix(gui): switch txt2img to post on client 2023-01-07 15:24:44 -06:00
Sean Sube 98a8db16a3 feat(gui): implement img2img tab 2023-01-07 15:10:52 -06:00
Sean Sube 090ad43845 lint(gui): fix a few name-only imports 2023-01-07 08:33:27 -06:00
Sean Sube 17e62fb8e3 fix(gui): key image history by order 2023-01-07 08:33:07 -06:00
Sean Sube e605c9f66b feat(gui): add download and delete buttons to image history 2023-01-06 22:20:14 -06:00
Sean Sube 4585792492 feat(gui): add seed to image controls with random button (fixes #16) 2023-01-06 20:03:00 -06:00
Sean Sube 3ec8f7c2fc feat(gui): put in a proper loading card 2023-01-06 17:35:20 -06:00
Sean Sube de48450730 fix(gui): disable img2img tab for now, consistent quotes in jsx 2023-01-06 17:20:34 -06:00
Sean Sube b59519cb7e fix(api): update serve app name, add module entrypoint 2023-01-06 16:18:53 -06:00
Sean Sube 599e0ee2d0 feat(api): switch to package structure 2023-01-06 16:11:41 -06:00
Sean Sube 8f7c1e705b fix(gui): add npm ignore 2023-01-06 15:46:27 -06:00
Sean Sube 225f5f15e2 fix(gui): copy bundle to correct path within nginx image 2023-01-06 15:13:37 -06:00
Sean Sube 7f2371163e fix(gui): correct paths in nginx image 2023-01-06 15:08:15 -06:00
Sean Sube ee6cf50df7 fix(gui): run dev server from node image 2023-01-06 15:07:31 -06:00
Sean Sube 5e9890fb82 feat(build): add nginx-based GUI images 2023-01-06 15:04:07 -06:00
Sean Sube 6d560afbae feat(build): add bundle to JS build, add API image jobs 2023-01-06 13:05:31 -06:00
Sean Sube 03362f323b fix(build): pull GUI images from hub 2023-01-06 12:55:54 -06:00
Sean Sube 7c08c4b400 fix(gui): make more space for scheduler in image card 2023-01-06 11:41:28 -06:00
Sean Sube 26e886b61b fix(gui): prevent dropdown border from overlapping with label 2023-01-06 11:28:24 -06:00
Sean Sube d3f460759a feat(gui): add labels to dropdowns 2023-01-06 11:17:00 -06:00
Sean Sube 45a097a56b feat(gui): move platform selector outside of mode tabs 2023-01-06 11:12:32 -06:00
Sean Sube 561fcb4d10 feat(gui): get default params and prompt from config 2023-01-06 10:52:42 -06:00
Sean Sube 29c49085ce fix(gui): switch default platform to AMD 2023-01-06 10:45:30 -06:00
Sean Sube a950343f1b fix(gui): show parameters in a grid in the image card 2023-01-06 10:45:18 -06:00
Sean Sube 764a097efd feat(gui): show recent image history 2023-01-06 10:20:43 -06:00
Sean Sube 0376499cc7 fix(gui): remove paragraph wrapping image details 2023-01-06 08:40:48 -06:00
Sean Sube b5d67b4886 feat(gui): make an image card component showing params 2023-01-06 00:22:36 -06:00
Sean Sube 1c9eed3a90 fix(gui): dedupe query lists into a component 2023-01-05 23:53:39 -06:00
Sean Sube f2ee2bb0e7 lint(gui): required tags for index page 2023-01-05 22:51:08 -06:00
Sean Sube 46e047bd0a feat(gui): load models from server 2023-01-05 22:33:06 -06:00
Sean Sube ce06837fbc feat(gui): get platforms and schedulers from server 2023-01-05 21:55:05 -06:00
Sean Sube b13d46cb5f feat(gui): set up react-query for better request handling 2023-01-05 21:01:18 -06:00
Sean Sube 466884113f feat: return json struct with output path instead of image data, load images from outputs endpoint 2023-01-05 20:32:46 -06:00
Sean Sube 5f1bb4ab56 fix(gui): switch default API host to localhost 2023-01-05 15:48:40 -06:00
Sean Sube 8f77bb89f2 feat(image): add preliminary container files 2023-01-05 15:03:53 -06:00
Sean Sube 9a10f52779 fix(build): correct output filename for JS ep 2023-01-05 13:47:43 -06:00
Sean Sube cd36172a3c fix(lint): style issues in gui 2023-01-05 13:42:52 -06:00
Sean Sube 6cb04fcbba load config from JSON, expand on setup instructions 2023-01-05 10:39:46 -06:00
Sean Sube 6c932e2ee8 add test script, screenshot to readme 2023-01-05 09:44:01 -06:00
Sean Sube 93a2f67e43 fix image size step 2023-01-05 01:26:34 -06:00
Sean Sube 75dde1dd75 add scheduler dropdown, wrap numeric input 2023-01-05 01:14:27 -06:00
Sean Sube 6b4545b3bf make image params a type, image controls a component 2023-01-05 00:44:52 -06:00
Sean Sube 8bbcdc175b stack txt2img inputs, read host/port for dev server 2023-01-04 23:25:39 -06:00
Sean Sube 85f117823c wire up basic API client 2023-01-04 22:54:31 -06:00
Sean Sube 8b0caf1925 add basic gui 2023-01-04 21:55:25 -06:00