AI¶
Installing marvin
and pydantic
is required to use this module.
suggest_tmap(description, num_colors=5, retries=3, verbose=True)
¶
Suggest a TastyMap based on a description of the image.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
description
|
str
|
A description of the image. |
required |
num_colors
|
int
|
Number of colors in the colormap. Defaults to 5. |
5
|
retries
|
int
|
Number of retries to suggest a TastyMap. Defaults to 3. |
3
|
verbose
|
bool
|
Whether to print the AI description. Defaults to True. |
True
|
Returns:
Name | Type | Description |
---|---|---|
TastyMap |
TastyMap
|
A new TastyMap instance with the new colormap. |