mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-05-08 08:18:51 +00:00
feat: use sdcpp-webui as embedded webui (#1408)
This commit is contained in:
parent
7ade90e478
commit
fd3504760f
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -21,6 +21,7 @@ on:
|
|||||||
"**/*.c",
|
"**/*.c",
|
||||||
"**/*.cpp",
|
"**/*.cpp",
|
||||||
"**/*.cu",
|
"**/*.cu",
|
||||||
|
"examples/server/frontend",
|
||||||
"examples/server/frontend/**",
|
"examples/server/frontend/**",
|
||||||
]
|
]
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -35,6 +36,7 @@ on:
|
|||||||
"**/*.c",
|
"**/*.c",
|
||||||
"**/*.cpp",
|
"**/*.cpp",
|
||||||
"**/*.cu",
|
"**/*.cu",
|
||||||
|
"examples/server/frontend",
|
||||||
"examples/server/frontend/**",
|
"examples/server/frontend/**",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -3,7 +3,7 @@
|
|||||||
url = https://github.com/ggml-org/ggml.git
|
url = https://github.com/ggml-org/ggml.git
|
||||||
[submodule "examples/server/frontend"]
|
[submodule "examples/server/frontend"]
|
||||||
path = examples/server/frontend
|
path = examples/server/frontend
|
||||||
url = https://github.com/leejet/stable-ui.git
|
url = https://github.com/leejet/sdcpp-webui.git
|
||||||
[submodule "thirdparty/libwebp"]
|
[submodule "thirdparty/libwebp"]
|
||||||
path = thirdparty/libwebp
|
path = thirdparty/libwebp
|
||||||
url = https://github.com/webmproject/libwebp.git
|
url = https://github.com/webmproject/libwebp.git
|
||||||
|
|||||||
@ -8,7 +8,7 @@ The server can optionally build the web frontend and embed it into the binary as
|
|||||||
|
|
||||||
Install the following tools:
|
Install the following tools:
|
||||||
|
|
||||||
* **Node.js** ≥ 22.18
|
* **Node.js** ≥ 20
|
||||||
https://nodejs.org/
|
https://nodejs.org/
|
||||||
|
|
||||||
* **pnpm** ≥ 10
|
* **pnpm** ≥ 10
|
||||||
@ -54,7 +54,7 @@ and embed the generated frontend into the server binary.
|
|||||||
|
|
||||||
## Frontend Repository
|
## Frontend Repository
|
||||||
|
|
||||||
The web frontend is maintained in a **separate repository**, https://github.com/leejet/stable-ui.
|
The web frontend is maintained in a **separate repository**, https://github.com/leejet/sdcpp-webui.
|
||||||
|
|
||||||
If you want to modify the UI or frontend logic, please submit pull requests to the **frontend repository**.
|
If you want to modify the UI or frontend logic, please submit pull requests to the **frontend repository**.
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 1a34176cd6d39ad3a226b2b69047e71f6797f6bc
|
Subproject commit 740475a7a6794dc07fb23e8ec5dc56e7e80aa8c1
|
||||||
Loading…
x
Reference in New Issue
Block a user