moved examples

This commit is contained in:
DGX 2024-01-10 08:47:35 +00:00
parent 4042a098b0
commit a0f35f2a41
3 changed files with 8 additions and 7 deletions

View File

@ -23,10 +23,10 @@ Coming soon again :)
## Example 1: Simple transition
![](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
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)
@ -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)
# Coming soon...
- [ ] MacOS support
- [ ] Gradio interface
- [ ] Huggingface Space
- [ ] Controlnet

View File

@ -1,9 +1,9 @@
import torch
import warnings
from blending_engine import BlendingEngine
from diffusers_holder import DiffusersHolder
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.backends.cudnn.benchmark = False
warnings.filterwarnings('ignore')

View File

@ -1,8 +1,8 @@
import torch
import warnings
from blending_engine import BlendingEngine
from diffusers_holder import DiffusersHolder
from diffusers import AutoPipelineForText2Image
from latentblending.blending_engine import BlendingEngine
from latentblending.diffusers_holder import DiffusersHolder
warnings.filterwarnings('ignore')
torch.set_grad_enabled(False)