Skip to content

Commit

Permalink
compress image
Browse files Browse the repository at this point in the history
  • Loading branch information
ylxmf2005 committed Jan 21, 2025
1 parent ef6cfce commit 0024ce9
Show file tree
Hide file tree
Showing 37 changed files with 12 additions and 12 deletions.
Binary file removed docs/img/frontend.png
Binary file not shown.
Binary file added docs/img/i1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/i1.png
Binary file not shown.
Binary file added docs/img/i3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/i3.png
Binary file not shown.
Binary file added docs/img/i4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/i4.png
Binary file not shown.
Binary file removed docs/img/ollama_model.jpg
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ sidebar_position: 1
## 👀 效果演示

<div style={{display: 'flex', justifyContent: 'center', gap: '20px', flexWrap: 'wrap'}}>
<img src={require('./img/i1.png').default} style={{width: '410px'}} />
<img src={require('./img/i1.jpg').default} style={{width: '410px'}} />
<img src={require('./img/i2.jpg').default} style={{width: '410px'}} />
<img src={require('./img/i3.png').default} style={{width: '410px'}} />
<img src={require('./img/i4.png').default} style={{width: '410px'}} />
<img src={require('./img/i3.jpg').default} style={{width: '410px'}} />
<img src={require('./img/i4.jpg').default} style={{width: '410px'}} />
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/frontend/electron.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sidebar_position: 4

## 桌宠模式

<img src={require('./img/electron/overview.png').default} style={{width: '70%'}} />
<img src={require('./img/electron/overview.jpg').default} style={{width: '70%'}} />

### 功能
以下功能与 [Web 模式](web.md) 完全一致:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/electron/overview.png
Binary file not shown.
Binary file added docs/user-guide/frontend/img/mode/pet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/mode/pet.png
Binary file not shown.
Binary file added docs/user-guide/frontend/img/mode/web.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/mode/web.png
Binary file not shown.
Binary file added docs/user-guide/frontend/img/web/history.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/web/history.png
Binary file not shown.
Binary file added docs/user-guide/frontend/img/web/overview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/web/overview.png
Binary file not shown.
Binary file added docs/user-guide/frontend/img/web/setting.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/user-guide/frontend/img/web/setting.png
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/user-guide/frontend/mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ iOS 禁止浏览器播放音频,需要不断点击才能使说话功能正常
当你在远程访问部署的 Web 应用时(即部署服务器与访问设备不在同一台机器上,即使处于相同局域网也视为远程访问),请注意麦克风和摄像头仅能在安全上下文(HTTPS 或 localhost)中使用。详细说明请参考 [MDN Web 文档](https://developer.mozilla.org/zh-CN/docs/Web/Security/Secure_Contexts)。因此,如需在远程设备上正常使用这些功能,你必须为 Web 服务器配置 HTTPS 协议。
:::

![](img/mode/web.png)
![](img/mode/web.jpg)


## 窗口模式
Expand All @@ -50,5 +50,5 @@ iOS 禁止浏览器播放音频,需要不断点击才能使说话功能正常

桌宠模式将角色转变为背景透明、全局置顶、自由拖拽的桌面伴侣,提供更加沉浸的体验。

![](img/mode/pet.png)
![](img/mode/pet.jpg)

6 changes: 3 additions & 3 deletions docs/user-guide/frontend/web.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 3

# Web 模式

![](img/web/overview.png)
![](img/web/overview.jpg)

## 布局概览
- 侧边栏 (可折叠)
Expand Down Expand Up @@ -45,7 +45,7 @@ sidebar_position: 3
个性化设置使用 localStorage 在本地存储。
:::

<img src={require('./img/web/setting.png').default} style={{width: '70%'}} />
<img src={require('./img/web/setting.jpg').default} style={{width: '70%'}} />

### General (通用)
- 语言设置 (TODO)
Expand Down Expand Up @@ -132,7 +132,7 @@ sidebar_position: 3
- 在 AI 处于 `thinking-speaking` 状态时发送消息。

### 消息记录
<img src={require('./img/web/history.png').default} style={{width: '70%'}} />
<img src={require('./img/web/history.jpg').default} style={{width: '70%'}} />

- 可滚动查看消息记录
- 支持流式响应,实时显示 AI 回复内容
Expand Down
Binary file removed docs/user-guide/img/emoMap_index.jpg
Binary file not shown.
Binary file removed docs/user-guide/img/emoMap_index_mapping_1.png
Binary file not shown.
Binary file removed docs/user-guide/img/emoMap_index_mapping_2.png
Binary file not shown.
Binary file removed docs/user-guide/img/emoMap_keyword.jpg
Binary file not shown.
Binary file removed docs/user-guide/img/inside_live2d_model.jpg
Binary file not shown.
Binary file removed docs/user-guide/img/live2d-model.jpg
Diff not rendered.
Binary file added docs/user-guide/img/live2d_p1.jpg
Binary file removed docs/user-guide/img/live2d_p1.png
Diff not rendered.
Binary file added docs/user-guide/img/live2d_p2.jpg
Binary file removed docs/user-guide/img/live2d_p2.png
Diff not rendered.
Binary file added docs/user-guide/img/live2d_p3.jpg
Binary file removed docs/user-guide/img/live2d_p3.png
Diff not rendered.
6 changes: 3 additions & 3 deletions docs/user-guide/live2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

将你的 Live2D 模型文件放在 `live2d-models` 文件夹中,如图中的 `xiao`

<img src={require('./img/live2d_p1.png').default} style={{width: '70%'}} />
<img src={require('./img/live2d_p1.jpg').default} style={{width: '70%'}} />


## 2. 添加模型配置
Expand Down Expand Up @@ -92,7 +92,7 @@ Live2D 模型的动作动画一般会被分成多个动作组 (Motion Groups)。

具体动作组名称需要根据模型配置文件 `model.json``model3.json` 中的名称,如图所示。

<img src={require('./img/live2d_p3.png').default} style={{width: '100%'}} />
<img src={require('./img/live2d_p3.jpg').default} style={{width: '100%'}} />

:::tip
如果你理解模型的动作结构,也可以配置自己待机的动作组。但除非你知道自己在做什么,否则建议保持 `idleMotionGroupName` 的默认值(`idle``Idle`)。
Expand Down Expand Up @@ -257,7 +257,7 @@ AI 会使用 `[emotion]` 格式在对话中触发表情变化,例如:

配置方法非常简单。以 `conf.yaml` 为例,你只需要在 `character-config` 配置项下找到 `live2d_model_name` 字段,将其值设置为你想使用的 Live2D 模型名称即可。请注意,这个名称需要与 `model_dict.json` 文件中对应模型的 `name` 字段保持一致。

<img src={require('./img/live2d_p2.png').default} style={{width: '70%'}} />
<img src={require('./img/live2d_p2.jpg').default} style={{width: '70%'}} />

:::info
图中的其他配置字段说明:
Expand Down

0 comments on commit 0024ce9

Please sign in to comment.