error in sintax

C:\Users\Makxxx\PycharmProjects\stable_diffusion_tutorial\venv\Scripts\python.exe C:\Users\Makxxx\PycharmProjects\stable_diffusion_tutorial\main.py 
Character in prompt: 19, limit: 200
Traceback (most recent call last):
  File "C:\Users\Makxxx\PycharmProjects\stable_diffusion_tutorial\main.py", line 28, in <module>
    pipe = StableDiffusionPipeline.from_pretrained(SDV5_MODEL_PATH)
  File "C:\Users\Makxxx\AppData\Local\Programs\Python\Python39\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 461, in from_pretrained
    if not os.path.isdir(pretrained_model_name_or_path):
  File "C:\Users\Makxxx\AppData\Local\Programs\Python\Python39\lib\genericpath.py", line 42, in isdir
    st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Process finished with exit code 1

 

i copy exactly the string in tutorial ,but i receive this message ,anyone can help me pls?

1

请先登录再写评论。