You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"}
The text was updated successfully, but these errors were encountered:
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"}
The text was updated successfully, but these errors were encountered: