Spaces:
Runtime error
Runtime error
Change default watermark when caching
Browse files
model.py
CHANGED
|
@@ -113,7 +113,7 @@ class Model:
|
|
| 113 |
video_path,
|
| 114 |
prompt,
|
| 115 |
chunk_size=8,
|
| 116 |
-
watermark=
|
| 117 |
num_inference_steps=20,
|
| 118 |
controlnet_conditioning_scale=1.0,
|
| 119 |
guidance_scale=9.0,
|
|
@@ -169,7 +169,7 @@ class Model:
|
|
| 169 |
video_path,
|
| 170 |
prompt,
|
| 171 |
chunk_size=8,
|
| 172 |
-
watermark=
|
| 173 |
num_inference_steps=20,
|
| 174 |
controlnet_conditioning_scale=1.0,
|
| 175 |
guidance_scale=9.0,
|
|
@@ -227,7 +227,7 @@ class Model:
|
|
| 227 |
video_path,
|
| 228 |
prompt,
|
| 229 |
chunk_size=8,
|
| 230 |
-
watermark=
|
| 231 |
num_inference_steps=20,
|
| 232 |
controlnet_conditioning_scale=1.0,
|
| 233 |
guidance_scale=9.0,
|
|
@@ -293,7 +293,7 @@ class Model:
|
|
| 293 |
end_t=-1,
|
| 294 |
out_fps=-1,
|
| 295 |
chunk_size=8,
|
| 296 |
-
watermark=
|
| 297 |
use_cf_attn=True,
|
| 298 |
save_path=None,):
|
| 299 |
if self.model_type != ModelType.Pix2Pix_Video:
|
|
@@ -328,7 +328,7 @@ class Model:
|
|
| 328 |
n_prompt="",
|
| 329 |
chunk_size=8,
|
| 330 |
video_length=8,
|
| 331 |
-
watermark=
|
| 332 |
inject_noise_to_warp=False,
|
| 333 |
resolution=512,
|
| 334 |
seed=-1,
|
|
|
|
| 113 |
video_path,
|
| 114 |
prompt,
|
| 115 |
chunk_size=8,
|
| 116 |
+
watermark='Picsart AI Research',
|
| 117 |
num_inference_steps=20,
|
| 118 |
controlnet_conditioning_scale=1.0,
|
| 119 |
guidance_scale=9.0,
|
|
|
|
| 169 |
video_path,
|
| 170 |
prompt,
|
| 171 |
chunk_size=8,
|
| 172 |
+
watermark='Picsart AI Research',
|
| 173 |
num_inference_steps=20,
|
| 174 |
controlnet_conditioning_scale=1.0,
|
| 175 |
guidance_scale=9.0,
|
|
|
|
| 227 |
video_path,
|
| 228 |
prompt,
|
| 229 |
chunk_size=8,
|
| 230 |
+
watermark='Picsart AI Research',
|
| 231 |
num_inference_steps=20,
|
| 232 |
controlnet_conditioning_scale=1.0,
|
| 233 |
guidance_scale=9.0,
|
|
|
|
| 293 |
end_t=-1,
|
| 294 |
out_fps=-1,
|
| 295 |
chunk_size=8,
|
| 296 |
+
watermark='Picsart AI Research',
|
| 297 |
use_cf_attn=True,
|
| 298 |
save_path=None,):
|
| 299 |
if self.model_type != ModelType.Pix2Pix_Video:
|
|
|
|
| 328 |
n_prompt="",
|
| 329 |
chunk_size=8,
|
| 330 |
video_length=8,
|
| 331 |
+
watermark='Picsart AI Research',
|
| 332 |
inject_noise_to_warp=False,
|
| 333 |
resolution=512,
|
| 334 |
seed=-1,
|