Skip to content

Returned a non-zero code: 1 #12

@greathun

Description

@greathun

Hello. I am using this template. Added my huggingface.co token. When deploying I get one error:

{"stream":"\u001b[91m\rFetching 23 files: 100%|██████████| 23/23 [02:00\u003c00:00, 5.24s/it]\u001b[0m"}
{"stream":"\u001b[91m\n\u001b[0m"}
{"stream":"\u001b[91mTraceback (most recent call last):\n File "download.py", line 25, in \u003cmodule\u003e\n download_model()\n File "download.py", line 18, in download_model\n model = StableDiffusionPipeline.from_pretrained(\n File "/opt/conda/lib/python3.8/site-packages/diffusers/pipeline_utils.py", line 238, in from_pretrained\n load_method = getattr(class_obj, load_method_name)\nTypeError: getattr(): attribute name must be string\n\u001b[0m"}
{"errorDetail":{"code":1,"message":"The command '/bin/sh -c python3 download.py' returned a non-zero code: 1"},"error":"The command '/bin/sh -c python3 download.py' returned a non-zero code: 1"}

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