File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
google/generativeai/vision_models Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def to_mapping_value(value) -> struct_pb2.Struct:
107
107
SafetyFilterLevel = Literal ["block_most" , "block_some" , "block_few" ]
108
108
SAFETY_FILTER_LEVELS = SafetyFilterLevel .__args__ # type: ignore
109
109
110
- PersonGeneration = Literal ["dont_allow" , "allow_adult" , "allow_all" ]
110
+ PersonGeneration = Literal ["dont_allow" , "allow_adult" ]
111
111
PERSON_GENERATIONS = PersonGeneration .__args__ # type: ignore
112
112
113
113
@@ -285,7 +285,6 @@ def _generate_images(
285
285
values are:
286
286
* "dont_allow" : Block generation of people
287
287
* "allow_adult" : Generate adults, but not children
288
- * "allow_all" : Generate adults and children
289
288
290
289
Returns:
291
290
An `ImageGenerationResponse` object.
@@ -413,7 +412,6 @@ def generate_images(
413
412
values are:
414
413
* "dont_allow" : Block generation of people
415
414
* "allow_adult" : Generate adults, but not children
416
- * "allow_all" : Generate adults and children
417
415
Returns:
418
416
An `ImageGenerationResponse` object.
419
417
"""
You can’t perform that action at this time.
0 commit comments