2023-03-01 03:01:05 +08:00
2023-01-01 15:30:52 +08:00
2023-02-07 00:43:16 +08:00
2023-03-01 01:48:09 +08:00
2023-02-19 07:48:29 +08:00
2023-02-15 05:52:32 +08:00
2023-02-07 00:43:16 +08:00
2023-02-19 04:30:18 +08:00
2022-12-30 01:42:37 +08:00
2023-02-19 04:39:55 +08:00
2023-02-10 02:02:25 +08:00
2023-02-14 03:12:11 +08:00
2023-03-01 03:01:05 +08:00
2022-12-20 02:54:04 +08:00
2023-02-18 03:27:34 +08:00

server

基于 VUE/NUXT 构建的AI绘图前端 DEMO

对内网开放读写接口, 以便多台服务器协作调度, 由于NUXT默认是多线程的, 因此需要构建一个公共队列

[
  {
    "MODEL": "model-768",
    "UID": "XXXXXXXXXXX",
    "STATUS": "awaiting|produce|end",
  }
]
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 to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.

Description
ai 绘图的前端交互界面
Readme 280 KiB
Languages
Python 45%
Vue 40.5%
TypeScript 14.4%
Shell 0.1%