处理后端接口
This commit is contained in:
30
README.md
30
README.md
@@ -1,3 +1,33 @@
|
||||
# server
|
||||
基于 VUE/NUXT 构建的AI绘图前端 DEMO
|
||||
|
||||
对内网开放读写接口, 以便多台服务器协作调度, 由于NUXT默认是多线程的, 因此需要构建一个公共队列
|
||||
```JSON
|
||||
[
|
||||
{
|
||||
"MODEL": "model-768",
|
||||
"UID": "XXXXXXXXXXX",
|
||||
"STATUS": "awaiting|produce|end",
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
|
||||
```BASH
|
||||
python scripts/txt2img.py --prompt "a little girl professional photograph of an astronaut riding a horse" --ckpt /data/768-v-ema.ckpt --config /data/768-v-ema.yaml --H 768 --W 768 --device cuda --bf16 --n_samples 1 --n_rows 1
|
||||
|
||||
|
||||
stderr: Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /tmp/pip-req-build-1oercg75
|
||||
Running command git rev-parse -q --verify 'sha^8d2447a2d918f8eba5a4a01463fd48e45126a379'
|
||||
Running command git fetch -q https://github.com/TencentARC/GFPGAN.git 8d2447a2d918f8eba5a4a01463fd48e45126a379
|
||||
Running command git checkout -q 8d2447a2d918f8eba5a4a01463fd48e45126a379
|
||||
ERROR: Exception:
|
||||
Traceback (most recent call last):
|
||||
File "/data/stable-diffusion-webui/venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
|
||||
yield
|
||||
```
|
||||
|
||||
# Nuxt 3 Minimal Starter
|
||||
|
||||
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
|
||||
|
Reference in New Issue
Block a user