Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -391,8 +391,8 @@ class EndpointHandler:
|
|
391 |
- quality (optional, str, default to 18): The range of the CRF scale is 0–51, where 0 is lossless (for 8 bit only, for 10 bit use -qp 0), 23 is the default, and 51 is worst quality possible.
|
392 |
- enable_teacache (optional, bool, default to True): Generate faster at the cost of a slight quality loss
|
393 |
- teacache_threshold (optional, float, default to 0.15): Amount of cache
|
394 |
-
- enable_enhance_a_video
|
395 |
-
- enhance_a_video_weight
|
396 |
|
397 |
Returns:
|
398 |
Dictionary containing:
|
|
|
391 |
- quality (optional, str, default to 18): The range of the CRF scale is 0–51, where 0 is lossless (for 8 bit only, for 10 bit use -qp 0), 23 is the default, and 51 is worst quality possible.
|
392 |
- enable_teacache (optional, bool, default to True): Generate faster at the cost of a slight quality loss
|
393 |
- teacache_threshold (optional, float, default to 0.15): Amount of cache
|
394 |
+
- enable_enhance_a_video (optional, bool, default to True): enable the enhance_a_video optimization
|
395 |
+
- enhance_a_video_weight(optional, float, default to 4.0): amount of video enhancement to apply
|
396 |
|
397 |
Returns:
|
398 |
Dictionary containing:
|