Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,8 +98,8 @@ def resize_image_to_bucket(image: Union[Image.Image, np.ndarray], bucket_reso: T
|
|
| 98 |
|
| 99 |
def generate_video(pipe, prompt: str, frame1: Image.Image, frame2: Image.Image, guidance_scale: float, num_frames: int, num_inference_steps: int) -> bytes:
|
| 100 |
# Load and preprocess frames
|
| 101 |
-
print(f"Frame 1 Path: {frame1_path}, Type: {type(frame1_path)}")
|
| 102 |
-
print(f"Frame 2 Path: {frame2_path}, Type: {type(frame2_path)}")
|
| 103 |
|
| 104 |
# Load and preprocess frames
|
| 105 |
cond_frame1 = frame1
|
|
|
|
| 98 |
|
| 99 |
def generate_video(pipe, prompt: str, frame1: Image.Image, frame2: Image.Image, guidance_scale: float, num_frames: int, num_inference_steps: int) -> bytes:
|
| 100 |
# Load and preprocess frames
|
| 101 |
+
# print(f"Frame 1 Path: {frame1_path}, Type: {type(frame1_path)}")
|
| 102 |
+
# print(f"Frame 2 Path: {frame2_path}, Type: {type(frame2_path)}")
|
| 103 |
|
| 104 |
# Load and preprocess frames
|
| 105 |
cond_frame1 = frame1
|