lunarring commited on
Commit
ef506ec
·
1 Parent(s): 978e754

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -14,10 +14,13 @@
14
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
  # See the License for the specific language governing permissions and
16
  # limitations under the License.
 
 
 
17
  from huggingface_hub import hf_hub_download
18
  hf_hub_download(repo_id="stabilityai/stable-diffusion-2-1-base", filename="v2-1_512-ema-pruned.ckpt")
19
- import os, sys
20
- sys.path.append("latentblending")
21
  import torch
22
  torch.backends.cudnn.benchmark = False
23
  import numpy as np
@@ -28,7 +31,7 @@ import torch
28
  from tqdm.auto import tqdm
29
  from PIL import Image
30
  import torch
31
- from movie_util import MovieSaver, concatenate_movies
32
  from typing import Callable, List, Optional, Union
33
  from latent_blending import get_time, yml_save, LatentBlending, add_frames_linear_interp, compare_dicts
34
  from stable_diffusion_holder import StableDiffusionHolder
 
14
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
  # See the License for the specific language governing permissions and
16
  # limitations under the License.
17
+ import os, sys
18
+ sys.path.append("/content/latentblending")
19
+ from movie_util import MovieSaver, concatenate_movies
20
  from huggingface_hub import hf_hub_download
21
  hf_hub_download(repo_id="stabilityai/stable-diffusion-2-1-base", filename="v2-1_512-ema-pruned.ckpt")
22
+
23
+
24
  import torch
25
  torch.backends.cudnn.benchmark = False
26
  import numpy as np
 
31
  from tqdm.auto import tqdm
32
  from PIL import Image
33
  import torch
34
+
35
  from typing import Callable, List, Optional, Union
36
  from latent_blending import get_time, yml_save, LatentBlending, add_frames_linear_interp, compare_dicts
37
  from stable_diffusion_holder import StableDiffusionHolder