Skip to content

Commit 884162f

Browse files
authored
Merge pull request #1 from intel/dev
init commit
2 parents c860e0a + 24831a1 commit 884162f

File tree

169 files changed

+28654
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+28654
-0
lines changed

3rdpartynoticeslicenses.txt

+7,406
Large diffs are not rendered by default.

AI Playground Users Guide.pdf

695 KB
Binary file not shown.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Intel Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

WebUI/.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules/
11+
dist/
12+
dist-ssr
13+
*.local
14+
release/
15+
16+
# Editor directories and files
17+
.vscode/*
18+
!.vscode/extensions.json
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?

WebUI/app.ico

99.7 KB
Binary file not shown.

WebUI/electron/electron-env.d.ts

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/// <reference types="vite-plugin-electron/electron-env" />
2+
3+
declare namespace NodeJS {
4+
interface ProcessEnv {
5+
/**
6+
* The built directory structure
7+
*
8+
* ```tree
9+
* ├─┬─┬ dist
10+
* │ │ └── index.html
11+
* │ │
12+
* │ ├─┬ dist-electron
13+
* │ │ ├── main.js
14+
* │ │ └── preload.js
15+
* │
16+
* ```
17+
*/
18+
DIST: string;
19+
/** /dist/ or /public/ */
20+
VITE_PUBLIC: string;
21+
}
22+
}
23+
24+
// Used in Renderer process, expose in `preload.ts`
25+
interface Window {
26+
ipcRenderer: import("electron").IpcRenderer;
27+
}
28+
29+
type KVObject = {
30+
[key: string]: any;
31+
};
32+
33+
type LocalSettings = {
34+
apiHost: string;
35+
settingPath: string;
36+
debug: number;
37+
envType: string;
38+
} & KVObject;
39+
40+
type ModelPaths = {
41+
llm: string,
42+
embedding: string,
43+
stableDiffusion: string,
44+
inpaint: string,
45+
lora: string,
46+
vae: string,
47+
} & StringKV
48+
49+
type ModelLists = {
50+
llm: string[],
51+
stableDiffusion: string[],
52+
lora: string[],
53+
vae: string[],
54+
scheduler: string[],
55+
embedding: string[],
56+
inpaint: string[]
57+
} & { [key: string]: Array<string> }
58+
59+
type SetupData = {
60+
modelPaths: ModelPaths,
61+
modelLists: ModelLists,
62+
envType: string,
63+
isAdminExec:boolean,
64+
version:string,
65+
}

0 commit comments

Comments
 (0)