Repository: stable-diffusion-webui
Issue: [Bug]: Error
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

Error out instantly

### Steps to reproduce the problem

start webui and crash the moment i try to change anything

### What should have happened?

Like normaly

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

Can't generate

### Console logs

```Shell
venv "C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\venv\Scripts\Python.exe"
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: <none>
Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\adetailer':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\ControlNet':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\openpose-editor':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\sd-webui-cn-in-extras-tab':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\sd-webui-infinite-image-browsing':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\Stable-Diffusion-Webui-Civitai-Helper':
Already up to date.

Pulled changes for repository in 'C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\extensions\ultimate-upscale-for-automatic1111':
Already up to date.

Launching Web UI with arguments: --theme dark --update-all-extensions --autolaunch --opt-split-attention --lowram --xformers --skip-torch-cuda-test --no-half --no-gradio-queue
[-] ADetailer initialized. version: 24.4.2, num models: 10
Loading weights [74ddb0eb3a] from C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\models\Stable-diffusion\pornmasterAnime_v4.safetensors
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 21.1s (prepare environment: 5.7s, import torch: 7.8s, import gradio: 1.4s, setup paths: 1.9s, initialize shared: 0.3s, other imports: 0.9s, load scripts: 2.2s, create ui: 0.6s, gradio launch: 0.3s).
Creating model from config: C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\configs\v1-inference.yaml
Loading VAE weights specified in settings: C:\Users\razze\Desktop\stable-diffusion-webui-1.8.0\models\VAE\klF8Anime2VAE_klF8Anime2VAE.safetensors
Applying attention optimization: xformers... done.
Model loaded in 8.7s (load weights from disk: 5.4s, create model: 0.4s, apply weights to model: 0.5s, apply float(): 0.9s, load VAE: 0.9s, move model to device: 0.1s, calculate empty prompt: 0.4s).
Press any key to continue . . .
```


### Additional information

_No response_