PrefectHQ/marvin

Incorrect Docstring

Dev-Khant opened this issue · 2 comments

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to try to find a similar issue and didn't find one.
  • I searched the Marvin documentation for this issue.

Bug summary

Incorrect docstring written for generate_speech function. Can be checked here.

Reproduction

Can be see in code for `generate_speech()`.

Error

    """
    Generates an image based on a provided prompt template.

    This function uses the DALL-E API to generate an image based on a provided
    prompt template. The function supports additional arguments for the prompt
    and the model.

    Args:
        prompt_template (str): The template for the prompt.
        prompt_kwargs (dict, optional): Additional keyword arguments for the
            prompt. Defaults to None.
        model_kwargs (dict, optional): Additional keyword arguments for the
            language model. Defaults to None.

    Returns:
        ImagesResponse: The response from the DALL-E API, which includes the
            generated image.
    """

Versions

2.3.1

Additional context

No response

@zzstoatzz Can I fix this up?

@Dev-Khant yes please! thank you