Spaces:
Runtime error
Runtime error
add1
Browse files
app.py
CHANGED
@@ -216,12 +216,12 @@ def save_video_from_frames(image_pred, save_pth, fps=8):
|
|
216 |
out.release()
|
217 |
print(f"视频已保存至 {save_pth}")
|
218 |
|
219 |
-
|
220 |
-
inf_pipe = InferenceIP2PVideo(
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
|
226 |
|
227 |
def process_example(*args):
|
|
|
216 |
out.release()
|
217 |
print(f"视频已保存至 {save_pth}")
|
218 |
|
219 |
+
#! model
|
220 |
+
# inf_pipe = InferenceIP2PVideo(
|
221 |
+
# diffusion_model.unet,
|
222 |
+
# scheduler='ddpm',
|
223 |
+
# num_ddim_steps=20
|
224 |
+
# )
|
225 |
|
226 |
|
227 |
def process_example(*args):
|