Skip to content

"error 3 validation errors for Prediction" when running "replicate.run()" #112

@waelmansourx

Description

@waelmansourx

Everytime I use this command, with any model

replicate.run(
        "stability-ai/stable-diffusion:<api-code>",
        input={"prompt": "a 19th century portrait of a wombat gentleman"}
    )

I recieve this error:

Field required [type=missing, input_value={'id': ''}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.0.1/v/missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions