Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Docstring #888

Closed
3 tasks done
Dev-Khant opened this issue Mar 27, 2024 · 2 comments · Fixed by #891
Closed
3 tasks done

Incorrect Docstring #888

Dev-Khant opened this issue Mar 27, 2024 · 2 comments · Fixed by #891
Labels
bug Something isn't working

Comments

@Dev-Khant
Copy link
Contributor

Dev-Khant commented Mar 27, 2024

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

@Dev-Khant Dev-Khant added the bug Something isn't working label Mar 27, 2024
@Dev-Khant
Copy link
Contributor Author

@zzstoatzz Can I fix this up?

@zzstoatzz
Copy link
Collaborator

@Dev-Khant yes please! thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants