Update handler.py
Browse files- handler.py +3 -3
handler.py
CHANGED
@@ -75,7 +75,7 @@ class GenerationConfig:
|
|
75 |
|
76 |
# general content settings
|
77 |
prompt: str = ""
|
78 |
-
negative_prompt: str = "worst quality, inconsistent motion, blurry, jittery, distorted, cropped, watermarked, watermark, logo, subtitle, subtitles, lowres"
|
79 |
|
80 |
# video model settings (will be used during generation of the initial raw video clip)
|
81 |
width: int = 768
|
@@ -317,8 +317,8 @@ class EndpointHandler:
|
|
317 |
"output_type": "pt",
|
318 |
"generator": generator
|
319 |
}
|
320 |
-
logger.info(f"Video model generation settings:")
|
321 |
-
pprint.pprint(generation_kwargs)
|
322 |
|
323 |
# Check if image-to-video generation is requested
|
324 |
if input_image:
|
|
|
75 |
|
76 |
# general content settings
|
77 |
prompt: str = ""
|
78 |
+
negative_prompt: str = "saturated, overlit, worst quality, inconsistent motion, blurry, jittery, distorted, cropped, watermarked, watermark, logo, subtitle, subtitles, lowres"
|
79 |
|
80 |
# video model settings (will be used during generation of the initial raw video clip)
|
81 |
width: int = 768
|
|
|
317 |
"output_type": "pt",
|
318 |
"generator": generator
|
319 |
}
|
320 |
+
#logger.info(f"Video model generation settings:")
|
321 |
+
#pprint.pprint(generation_kwargs)
|
322 |
|
323 |
# Check if image-to-video generation is requested
|
324 |
if input_image:
|