stable-diffusion

运行stable-diffusion的时候报错,希望帮帮忙!

(base) tianjihuideMBP:stable-diffusion-webui color$ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on color user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.10 (v3.10.10:aad5f6a891, Feb  7 2023, 08:47:40) [Clang 13.0.0 (clang-1300.0.29.30)]
Commit hash: 
Traceback (most recent call last):
  File "/Users/color/stable-diffusion-webui/launch.py", line 378, in <module>
    prepare_environment()
  File "/Users/color/stable-diffusion-webui/launch.py", line 315, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion",
  File "/Users/color/stable-diffusion-webui/launch.py", line 152, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None,
  File "/Users/color/stable-diffusion-webui/launch.py", line 105, in run
    raise RuntimeError(message)
RuntimeError: Couldn't determine Stable Diffusion's hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e.
Command: "git" -C "repositories/stable-diffusion-stability-ai" rev-parse HEAD
Error code: 128
stdout: HEAD

stderr: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git  [...] -- [...]'


(base) tianjihuideMBP:stable-diffusion-webui color$