Commit Graph

376 Commits (1ebbaee7a3bc9a72a701d03ca4e75a0ba4e7873e)

Author SHA1 Message Date
kabachuha becd27bc8a cleanup 2023-04-22 20:17:25 +03:00
kabachuha fcac09f980 progressbar support for videocrafter 2023-04-22 20:16:24 +03:00
kabachuha b2c5c0df98 fix soundtrack addition even when disabled 2023-04-22 20:11:29 +03:00
kabachuha 52076df358 fixup noise gen 2023-04-22 19:59:20 +03:00
kabachuha 74c9f1bd75 pass num_frames 2023-04-22 19:26:17 +03:00
kabachuha b311c6c32c update vc scripts 2023-04-22 19:23:10 +03:00
kabachuha 6678e575c2 fix imports 2023-04-22 19:07:03 +03:00
kabachuha 280c2511a4 update videocrafter's lvdm 2023-04-22 19:02:53 +03:00
kabachuha 47ef5f6dff check for dicts 2023-04-21 19:43:46 +03:00
kabachuha a778988e5a Merge branch 'main' into limit_inp_frames 2023-04-21 19:17:39 +03:00
kabachuha fe107bdeb4 limit inp/start frames by total frames 2023-04-21 19:15:30 +03:00
kabachuha 485208f9e1
Merge pull request #130 from deforum-art/progressbar
add progressbar, interrupt, skip
2023-04-21 19:07:23 +03:00
kabachuha 3a5fcb5fa5 limit vid2vid_start frame by frames 2023-04-21 16:04:17 +03:00
kabachuha 6a7e57c9c0 limit inpainting frames by frames 2023-04-21 16:04:05 +03:00
kabachuha 1f5848bdee add nsfw to default negative prompt
to prevent sudden harming content by default
2023-04-21 15:44:35 +03:00
kabachuha f394fb9fce add stub for videocrafter's progress 2023-04-21 15:41:41 +03:00
kabachuha e71fd72881 fix progress bar's count when multible batches 2023-04-21 15:38:01 +03:00
kabachuha 6c02afc368 fix expected behavior for skipping 2023-04-21 15:35:43 +03:00
kabachuha 8169400bf1 fix progressbar layout 2023-04-21 15:35:28 +03:00
kabachuha 32ceeba955 fix steps count showing 2023-04-21 15:20:20 +03:00
kabachuha c464180a9e fix display 2023-04-21 15:20:06 +03:00
kabachuha baa856bc94 call submit_txt2vid 2023-04-21 14:52:14 +03:00
kabachuha 2a230149b1 print the actual seed if -1
closes #107
2023-04-21 14:23:59 +03:00
kabachuha ff8ca64f50 add progressbar, interrupt, skip 2023-04-21 14:17:12 +03:00
kabachuha 340879f855 separate latents halving from mask halving
fixes #120
2023-04-21 13:29:21 +03:00
kabachuha e29e8c8979
Merge pull request #129 from rbfussell/fix-122b
Fix[122b] fixes 3rd reported exception found in #122
2023-04-21 12:45:29 +03:00
kabachuha fc365b94c1 xformers don't use scale argument
closes #121
2023-04-21 12:37:27 +03:00
kabachuha f1f9d9cd03 Revert "Fix[102b]: RE:Fix[102a]: 67aaba9f08 :: --attn_mask++attn_bias"
This reverts commit ec95bac72c.
2023-04-21 12:31:58 +03:00
Robin Fussell f7627bba83 Fix[122b] fixes 3rd reported exception found in #122 - clip_hardcode :: missing opts.use_old_emphasis_implementation 2023-04-20 14:49:26 -05:00
rbfussell 56f1113199
Update process_modelscope.py
Removed an extra /s between if<> args.inpainting_frames
2023-04-20 08:54:09 -05:00
Robin Fussell 898e5e9cd7 Fix[122] :: Exception occurred: 'NoneType' object has no attribute 'name' :: process_modelscope.py:: inpainting_frames->args.inpainting_frames 2023-04-20 08:45:37 -05:00
Robin Fussell ec95bac72c Fix[102b]: RE:Fix[102a]: 67aaba9f08 :: --attn_mask++attn_bias 2023-04-20 00:17:58 -05:00
kabachuha 489c5fcae0 print generation parameters (incl. seed)
addresses #107
2023-04-18 22:04:42 +03:00
kabachuha 9b79cb8d3a fix #116 2023-04-16 15:17:20 +03:00
kabachuha ac44238b17 fix masked_fill_ when vanilla attention
fixes #117
2023-04-16 15:09:53 +03:00
kabachuha 3acf729dfd fix inpainting_frames count as well 2023-04-16 14:24:15 +03:00
kabachuha d6c5591212 return the lost max frame doubling if has torch2 2023-04-16 14:23:17 +03:00
kabachuha 67aaba9f08 fixup mask argument is xformers attn
addresses the newer https://github.com/deforum-art/sd-webui-text2video/issues/102#issuecomment-1509995880
2023-04-16 02:35:17 +03:00
kabachuha 1a5120ed0c add fps and soundtrack to the API 2023-04-16 01:59:32 +03:00
kabachuha 4aec8c2a20 change the main version to 1.2b 2023-04-16 01:39:30 +03:00
kabachuha 251c2b4722 set the API version to 1.0 2023-04-16 01:37:25 +03:00
kabachuha 8165aa3c11 rename img2img to vid2vid
so it won't be confused with webui's img2img
2023-04-16 01:36:55 +03:00
kabachuha 2164e398af move the temp dir to the outputs folder 2023-04-16 01:11:11 +03:00
kabachuha 24b893a5e9 fix strength value 2023-04-16 01:09:50 +03:00
kabachuha e8fe1844b4 fix the missing link to strength 2023-04-15 23:14:46 +03:00
kabachuha 03f594e402 properly use the temp files 2023-04-15 23:14:25 +03:00
kabachuha 63cef24812 switch mkdir to makedirs 2023-04-15 22:30:34 +03:00
kabachuha 07f289524b use await to read file content 2023-04-15 22:22:10 +03:00
kabachuha 2770e2465e get files from uploadfiles 2023-04-15 21:52:03 +03:00
kabachuha 576de7e3b7 use unions 2023-04-15 21:19:21 +03:00
kabachuha 95f4f90957 use UploadFile instead of base64 2023-04-15 21:17:03 +03:00
kabachuha ec8f4c65b2 remove kwargs from run call 2023-04-15 20:44:50 +03:00
kabachuha d13e749a16 bump the extension version 2023-04-15 20:37:17 +03:00
kabachuha 0c01321a1b fixup usage of inpainting_frames parameter 2023-04-15 20:35:49 +03:00
kabachuha d20e52d80a Revert "add traceback to the sanity check"
This reverts commit 3fb4b0ca8f.
2023-04-15 20:33:48 +03:00
kabachuha 3fb4b0ca8f add traceback to the sanity check 2023-04-15 20:28:48 +03:00
kabachuha e812625b26 use POST instead of GET to launch run 2023-04-15 20:24:59 +03:00
kabachuha 4a0ceb9430 fixup default args filling 2023-04-15 20:21:14 +03:00
kabachuha beafc09b8c fix tmp_vid2vid being absent 2023-04-15 19:28:22 +03:00
kabachuha 96d983c491 fix video output in GUI 2023-04-15 19:11:40 +03:00
kabachuha cafa586d98 return the things vanished after the merge 2023-04-15 18:55:35 +03:00
kabachuha 6cbdb7a09a Merge branch 'main' into WebAPI 2023-04-15 18:08:09 +03:00
kabachuha 0147ca23ee arg name fixup 2023-04-15 17:54:06 +03:00
kabachuha 3a20dac70d Merge branch 'main' into keep-in-vram 2023-04-15 17:47:18 +03:00
kabachuha 820aab0ae1 let torch2 take priority over xformers 2023-04-15 17:10:16 +03:00
kabachuha 3bd93a0895 add benchmark info 2023-04-15 17:00:30 +03:00
kabachuha 532322d846 increase the max frame count if has torch2 2023-04-15 16:53:50 +03:00
kabachuha c6d0f9a3fb fix attn_mask arg name 2023-04-15 16:36:39 +03:00
kabachuha 741ecb9cb3 true keeping the pipe in VRAM
with never offloading to CPU
2023-04-15 01:42:12 +03:00
kabachuha 122fb9ff1d fix op link 2023-04-14 18:36:17 +03:00
kabachuha d1b4eb95e0 use xformers/torch2 for self attention 2023-04-14 18:30:46 +03:00
kabachuha 20215de8ef add support for xformers or torch2 attention 2023-04-14 18:25:24 +03:00
kabachuha b162d5d1b8 fix links to i1_store_t2v 2023-04-14 16:31:25 +03:00
kabachuha cf3e8f0f93 fix video args packing 2023-04-14 16:24:15 +03:00
kabachuha d65e2becfc set width, height defaults to 256 2023-04-14 16:22:41 +03:00
kabachuha 41368dd0cd pack only cleaned args 2023-04-14 16:14:23 +03:00
kabachuha 6b0d941bc2 fix name again 2023-04-14 16:10:14 +03:00
kabachuha 3260590d4b fix tuple range 2023-04-14 16:09:12 +03:00
kabachuha cb3fee9324 fix ambigiouty 2023-04-14 16:05:50 +03:00
kabachuha dd54eded2b fix column layout 2023-04-14 16:03:14 +03:00
kabachuha 89cc64fc45 fixup 2023-04-14 15:59:29 +03:00
kabachuha a053ad03ea refactor to get rid of cyclic dependencies 2023-04-14 15:51:30 +03:00
kabachuha 59a4ab297d Revert "protect against UI duplication"
This reverts commit 18b2ca0211.
2023-04-14 14:27:40 +03:00
kabachuha ce33903790 Revert "move callbacks to separate file to prevent duplication"
This reverts commit 079258440c.
2023-04-14 14:27:38 +03:00
kabachuha 079258440c move callbacks to separate file to prevent duplication 2023-04-14 00:13:18 +03:00
kabachuha 18b2ca0211 protect against UI duplication 2023-04-14 00:07:18 +03:00
kabachuha 80a72d1a38 use Union for API params
so the users won't have to upgrade python to 3.10+ just because of the API
2023-04-13 23:52:42 +03:00
kabachuha 18746a7b59 fixup api imports 2023-04-13 23:47:22 +03:00
kabachuha 992460c7a3 fixup 2023-04-13 23:36:16 +03:00
kabachuha befb3499bd pack videos in a list and append in the right tab
closes #109
2023-04-13 23:26:17 +03:00
kabachuha 03095bd44d make API handle inpainting and vid2vid as well 2023-04-13 22:35:09 +03:00
kabachuha 69e379ea0c add base API with sanity check 2023-04-13 21:16:31 +03:00
kabachuha ee4c14f3e4 note about VC's WIP status 2023-04-13 20:01:13 +03:00
kabachuha 638f7e1c42 use args funcs instead of hardcoded 2023-04-13 20:00:54 +03:00
kabachuha b104295640 fix add_soundtrack being always applied to VC
addresses https://github.com/deforum-art/sd-webui-text2video/issues/97
2023-04-13 19:42:38 +03:00
kabachuha 83c5cbd583 more info on inpainting 2023-04-13 19:38:47 +03:00
kabachuha a11d2bfabd better formatting 2023-04-13 19:34:16 +03:00
kabachuha 886192dc76 allow the inpainting_frames slider to move to 0 2023-04-13 19:28:52 +03:00
kabachuha 067939f5e9 add the 'loopback' example 2023-04-13 19:11:31 +03:00
kabachuha c222044cab use linear growth weight for inpainting 2023-04-13 18:45:50 +03:00