moved examples
This commit is contained in:
parent
4042a098b0
commit
a0f35f2a41
|
@ -23,10 +23,10 @@ Coming soon again :)
|
||||||
|
|
||||||
## Example 1: Simple transition
|
## Example 1: Simple transition
|
||||||
![](example1.jpg)
|
![](example1.jpg)
|
||||||
To run a simple transition between two prompts, run `example1_standard.py`
|
To run a simple transition between two prompts, see `examples/single_trans.py`
|
||||||
|
|
||||||
## Example 2: Multi transition
|
## Example 2: Multi transition
|
||||||
To run multiple transition between K prompts, resulting in a stitched video, run `example2_multitrans.py`.
|
To run multiple transition between K prompts, resulting in a stitched video, see `examples/multi_trans.py`.
|
||||||
[View a longer example video here.](https://vimeo.com/789052336/80dcb545b2)
|
[View a longer example video here.](https://vimeo.com/789052336/80dcb545b2)
|
||||||
|
|
||||||
|
|
||||||
|
@ -124,6 +124,7 @@ With latent blending, we can create transitions that appear to defy the laws of
|
||||||
* Inpaint support dropped (as it only makes sense for a single transition)
|
* Inpaint support dropped (as it only makes sense for a single transition)
|
||||||
|
|
||||||
# Coming soon...
|
# Coming soon...
|
||||||
|
- [ ] MacOS support
|
||||||
- [ ] Gradio interface
|
- [ ] Gradio interface
|
||||||
- [ ] Huggingface Space
|
- [ ] Huggingface Space
|
||||||
- [ ] Controlnet
|
- [ ] Controlnet
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import torch
|
import torch
|
||||||
import warnings
|
import warnings
|
||||||
from blending_engine import BlendingEngine
|
|
||||||
from diffusers_holder import DiffusersHolder
|
|
||||||
from diffusers import AutoPipelineForText2Image
|
from diffusers import AutoPipelineForText2Image
|
||||||
from movie_util import concatenate_movies
|
from latentblending.movie_util import concatenate_movies
|
||||||
|
from latentblending.blending_engine import BlendingEngine
|
||||||
|
from latentblending.diffusers_holder import DiffusersHolder
|
||||||
torch.set_grad_enabled(False)
|
torch.set_grad_enabled(False)
|
||||||
torch.backends.cudnn.benchmark = False
|
torch.backends.cudnn.benchmark = False
|
||||||
warnings.filterwarnings('ignore')
|
warnings.filterwarnings('ignore')
|
|
@ -1,8 +1,8 @@
|
||||||
import torch
|
import torch
|
||||||
import warnings
|
import warnings
|
||||||
from blending_engine import BlendingEngine
|
|
||||||
from diffusers_holder import DiffusersHolder
|
|
||||||
from diffusers import AutoPipelineForText2Image
|
from diffusers import AutoPipelineForText2Image
|
||||||
|
from latentblending.blending_engine import BlendingEngine
|
||||||
|
from latentblending.diffusers_holder import DiffusersHolder
|
||||||
|
|
||||||
warnings.filterwarnings('ignore')
|
warnings.filterwarnings('ignore')
|
||||||
torch.set_grad_enabled(False)
|
torch.set_grad_enabled(False)
|
Loading…
Reference in New Issue