Commit Graph

376 Commits (1ebbaee7a3bc9a72a701d03ca4e75a0ba4e7873e)

Author SHA1 Message Date
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
kabachuha a790c248bd make weight parsing work 2023-04-13 18:39:31 +03:00
kabachuha cb5b9c438e
add inpainting weights to the args 2023-04-11 08:38:15 +03:00
kabachuha a26a8eebe8
add frame interpolater and weights keyframe 2023-04-11 08:03:45 +03:00
kabachuha 1b75f672a0 hide more debug info 2023-04-08 03:18:48 +03:00
kabachuha e5e13ef70f hide debug info 2023-04-08 03:14:01 +03:00
kabachuha ca54f0f8da better accordion location 2023-04-08 02:53:05 +03:00
kabachuha ecde517e57 fixup 2023-04-08 02:52:37 +03:00
kabachuha 0f498cff8c use accordion 2023-04-08 02:47:25 +03:00
kabachuha b8b4f14c55 Revert "tie do_inpainting to the tab selected"
This reverts commit a3f7a4afaa.
2023-04-08 02:43:11 +03:00
kabachuha 385e4237e6 Revert "shorten output settings to output"
This reverts commit b0efdb9dd5.
2023-04-08 02:43:08 +03:00
kabachuha b0efdb9dd5 shorten output settings to output 2023-04-08 02:39:55 +03:00
kabachuha a3f7a4afaa tie do_inpainting to the tab selected 2023-04-08 02:34:07 +03:00
kabachuha 82c1d571fc Update text2vid.py 2023-04-08 02:02:54 +03:00
kabachuha 7038b0ea65 Delete modelscope-text2vid.py 2023-04-07 22:34:19 +03:00
kabachuha ac76c6713c Merge branch 'main' into inpainting 2023-04-07 22:33:18 +03:00
kabachuha a4bfcefd9d fixup minor error on returns 2023-04-06 00:57:28 +03:00
kabachuha 1be6c566f0 fix video saving 2023-04-06 00:52:08 +03:00
kabachuha 2e5ea64021 fix noise device 2023-04-06 00:35:54 +03:00
kabachuha d75a22dce6 why are you even using importlib? 2023-04-06 00:33:17 +03:00
kabachuha 1d746927de vscode search has been lying to me again 2023-04-06 00:29:23 +03:00
kabachuha d6b654734f direct import fixup 2023-04-06 00:26:57 +03:00
kabachuha 59318d2a04 more import fixups 2023-04-06 00:25:00 +03:00
kabachuha 91f336b7a9 importlib import fixes 2023-04-06 00:22:28 +03:00
kabachuha d82bd88237 fix filename 2023-04-06 00:19:18 +03:00
kabachuha 5317b8647f import fixup 2023-04-06 00:15:55 +03:00
kabachuha f35fcb5a58 path 2023-04-06 00:14:11 +03:00
kabachuha eba061138b drop yaml import 2023-04-06 00:00:41 +03:00
kabachuha af80e0bdf2 add scripts subfolders to path 2023-04-05 23:58:07 +03:00
kabachuha de7429986d Update text2vid.py 2023-04-05 23:53:31 +03:00
kabachuha ddb6ac7c90 correct imports 2023-04-05 23:51:29 +03:00
kabachuha 2dca108a21 Update text2vid.py 2023-04-05 23:46:11 +03:00
kabachuha be3894c952 safe load for yaml 2023-04-05 23:44:09 +03:00
kabachuha 1042993fac os.getcwd name fixup 2023-04-05 23:40:27 +03:00
kabachuha e3b32ae463 use a generator for fixing seed 2023-04-05 23:38:19 +03:00
kabachuha 9eb3b19b02 fixup wording 2023-04-05 23:15:32 +03:00
kabachuha acaf07371b omegaconf import fixup 2023-04-05 23:11:32 +03:00
kabachuha c0e90a47aa added negative prompt support 2023-04-05 23:04:25 +03:00
kabachuha 93f53c059b base process 2023-04-05 22:57:11 +03:00
kabachuha dcc702249b update readme 2023-04-05 22:29:26 +03:00
kabachuha f16e62e663 GUI clarification 2023-04-05 22:21:29 +03:00
kabachuha 80bc5735bc fixup imports 2023-04-05 22:08:20 +03:00
kabachuha 828427b139 add videocrafter modules 2023-04-05 22:00:29 +03:00
hithereai d16dbf86c5 Merge remote-tracking branch 'upstream/main' into gradio_placeholders 2023-03-30 12:18:31 +03:00
kabachuha 6e2f2a816a use default values before opts are refreshed
closes #79 and closes #80
2023-03-28 16:23:42 +03:00
hithereai e8d7b6d2a0 final push 2023-03-28 00:08:53 +03:00
hithereai 56ac0a389c fixes, not final yet 2023-03-27 23:45:16 +03:00
hithereai 2a0c04297f some ui cleaning p1 2023-03-27 23:35:58 +03:00
Logan E 3b579f5e2d add custom weights field 2023-03-27 16:12:01 -04:00
hithereai 474bb3b15e quick fix 2023-03-27 22:48:50 +03:00
hithereai 438fb2cd49 del old commented line 2023-03-27 22:23:43 +03:00
hithereai 293a46c04f add webui settings, move vae and keep_in_vram to it 2023-03-27 22:18:40 +03:00
Logan E 84747cc527 inpainting, specify an initial frame and the video will be extrapolated from there 2023-03-27 08:58:48 -04:00
kabachuha a4644f073d fixed hotkeys after gradio update 2023-03-26 15:55:57 +03:00
kabachuha 2df3c600ca remove debug print 2023-03-26 15:46:05 +03:00
kabachuha 27de6c5564 lower the default cfg scale 2023-03-26 15:36:04 +03:00
kabachuha b8c2074345 the fix 2023-03-26 15:35:54 +03:00
kabachuha 0f6e79147c Update t2v_model.py 2023-03-26 15:05:24 +03:00
kabachuha 6b56afe3ff move debug 2023-03-26 14:46:47 +03:00
kabachuha 421c4d2a22 Update t2v_model.py 2023-03-26 14:33:19 +03:00
kabachuha 700dd1172e Update clip_hardcode.py 2023-03-26 14:27:35 +03:00
kabachuha 8f8a6690e4 Update t2v_model.py 2023-03-26 13:36:49 +03:00
kabachuha 56ef3128b7 Update clip_hardcode.py 2023-03-26 03:45:22 +03:00
kabachuha 0cb9bb8ea4 Update clip_hardcode.py 2023-03-26 03:38:50 +03:00
kabachuha 8894838535 change encode with transformers 2023-03-26 03:29:50 +03:00
kabachuha 0b834ac4ac Revert "test"
This reverts commit 868d95948b.
2023-03-26 03:20:43 +03:00
kabachuha 868d95948b test 2023-03-26 03:17:51 +03:00
kabachuha e38e6a23be fixup 2023-03-26 03:10:19 +03:00
kabachuha 682af52eac hardcode clip hijack 2023-03-26 03:06:59 +03:00
kabachuha b7fd24985f Update t2v_pipeline.py 2023-03-26 02:32:47 +03:00
kabachuha b1f928ae66 degauss the c 2023-03-26 02:28:38 +03:00
kabachuha 295a4905a8 more debug 2023-03-26 02:18:37 +03:00
kabachuha 2695215870 debug 2023-03-26 02:15:34 +03:00
kabachuha 0d96caa127 Revert "switch to internal clip"
This reverts commit 6585c22500.
2023-03-26 02:13:40 +03:00
kabachuha 0d915077a1 Revert "fixup"
This reverts commit 77e4c519b7.
2023-03-26 02:13:36 +03:00
kabachuha 9e1e191ac4 Revert "only reg learned conditioning"
This reverts commit b982c4dc4e.
2023-03-26 02:13:33 +03:00
kabachuha b982c4dc4e only reg learned conditioning 2023-03-26 02:05:39 +03:00
kabachuha 77e4c519b7 fixup 2023-03-26 01:55:41 +03:00
kabachuha 6585c22500 switch to internal clip 2023-03-26 01:53:39 +03:00
kabachuha d4e678fab8 Merge branch 'main' into prompt_weights 2023-03-26 00:59:37 +03:00
kabachuha d2c5e33c72 do not half model on mps 2023-03-26 00:52:20 +03:00
kabachuha fdf507c7e0 deduplicate torch_gc 2023-03-26 00:39:34 +03:00
kabachuha f532d344ac start clip on cpu, then bring to device correctly 2023-03-26 00:25:53 +03:00
kabachuha 63b901bca1 fix lines count 2023-03-26 00:15:05 +03:00
kabachuha 9383bb126e add check for cuda existance in gc runs 2023-03-26 00:00:08 +03:00
kabachuha a6eb86cdbe get_learning_conditioning inputs *list* of prompts
it may explain the wrong dimensions
2023-03-25 23:45:25 +03:00
kabachuha 2d523d380e default to cpu when macos
addresses #20
2023-03-25 23:23:55 +03:00
hithereai 6554d34149 fix vid2vid not working at all 2023-03-25 20:20:03 +03:00
kabachuha 0f9daba88b fix double generation and wrong strength
it was an error due to wrong merge conflict solving

sorry, guys

fix #62
2023-03-25 19:10:20 +03:00
hithereai 792f6f1ed6 un-break new gradio changes 2023-03-25 12:22:13 +03:00
kabachuha 9f9bd6577b set default denoising strength to 0.75 2023-03-25 01:49:32 +03:00
kabachuha 025ea30345 Update t2v_model.py 2023-03-24 23:46:42 +03:00
kabachuha 18d6a31369 Update t2v_model.py 2023-03-24 23:32:19 +03:00
kabachuha 442aa29a59 test 2023-03-24 23:26:53 +03:00
kabachuha dceaa53d5e Update t2v_pipeline.py 2023-03-24 23:17:43 +03:00
kabachuha d939d36672 Update t2v_pipeline.py 2023-03-24 23:10:28 +03:00
kabachuha 04fc68c07a more wrappers 2023-03-24 23:03:00 +03:00
hithereai 9f3a9b1e41 re-enable vid2vid strength 2023-03-24 22:56:33 +03:00
kabachuha 38311375d5 Update t2v_pipeline.py 2023-03-24 22:53:36 +03:00
kabachuha 628825d53f Update t2v_pipeline.py 2023-03-24 22:43:58 +03:00
kabachuha c19953e827 use webui's open clip wrapper 2023-03-24 22:38:01 +03:00