LPX55 commited on
Commit
76f7da1
·
verified ·
1 Parent(s): 94b253e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -6,6 +6,7 @@ import torch
6
  import numpy as np
7
  from typing import List, Optional, Tuple, Union
8
  from PIL import Image
 
9
  from io import BytesIO
10
  from diffusers import HunyuanVideoPipeline, FlowMatchEulerDiscreteScheduler
11
  from diffusers.models.transformers.transformer_hunyuan_video import HunyuanVideoPatchEmbed, HunyuanVideoTransformer3DModel
@@ -27,6 +28,7 @@ from diffusers.pipelines.hunyuan_video.pipeline_hunyuan_video import retrieve_ti
27
  from diffusers.utils import load_image
28
  from huggingface_hub import hf_hub_download
29
  import requests
 
30
 
31
  # Define video transformations
32
  video_transforms = transforms.Compose(
 
6
  import numpy as np
7
  from typing import List, Optional, Tuple, Union
8
  from PIL import Image
9
+ import io
10
  from io import BytesIO
11
  from diffusers import HunyuanVideoPipeline, FlowMatchEulerDiscreteScheduler
12
  from diffusers.models.transformers.transformer_hunyuan_video import HunyuanVideoPatchEmbed, HunyuanVideoTransformer3DModel
 
28
  from diffusers.utils import load_image
29
  from huggingface_hub import hf_hub_download
30
  import requests
31
+ import io
32
 
33
  # Define video transformations
34
  video_transforms = transforms.Compose(