This commit is contained in:
parent
34a40fd3a6
commit
9dfda99e16
@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'female-dt-2'
|
||||
- 'demo-t-2'
|
||||
|
||||
env:
|
||||
BUILD: staging
|
||||
@ -30,15 +30,15 @@ jobs:
|
||||
uses: https://gitea.yantootech.com/neil/build-push-action@v6
|
||||
with:
|
||||
push: false
|
||||
tags: emotion-female-digital-video:${{ gitea.run_id }}
|
||||
tags: emotion-digital-video:${{ gitea.run_id }}
|
||||
- name: Run docker
|
||||
run: |
|
||||
pwd
|
||||
if [ "$(docker ps -q -f name=^emotion-female-digital-video$)" ]; then
|
||||
docker stop emotion-female-digital-video
|
||||
if [ "$(docker ps -q -f name=^emotion-digital-video$)" ]; then
|
||||
docker stop emotion-digital-video
|
||||
fi
|
||||
docker run -d --rm --name emotion-female-digital-video \
|
||||
docker run -d --rm --name emotion-digital-video \
|
||||
-v /usr/share/fonts/opentype/noto:/usr/share/fonts \
|
||||
-p 6901:3000 \
|
||||
emotion-female-digital-video:${{ gitea.run_id }}
|
||||
-p 6900:3000 \
|
||||
emotion-digital-video:${{ gitea.run_id }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
18
server.js
18
server.js
@ -91,24 +91,24 @@ let currentSceneIndex = 0;
|
||||
const scenes = [
|
||||
{
|
||||
name: '起床',
|
||||
defaultVideo: '8-5-qc-bd-female.mp4',
|
||||
interactionVideo: '8-5-qc-sh-female.mp4',
|
||||
defaultVideo: 'qc-bd.mp4',
|
||||
interactionVideo: 'qc-sh.mp4',
|
||||
tag: 'wakeup',
|
||||
apiKey: 'bot-20250730213756-l627w' // 起床场景的API key
|
||||
apiKey: 'bot-20250724150616-xqpz8' // 起床场景的API key
|
||||
},
|
||||
{
|
||||
name: '走路',
|
||||
defaultVideo: '8-5-sb-bd-female.mp4',
|
||||
interactionVideo: '8-5-sb-sh-female.mp4',
|
||||
defaultVideo: 'kc-bd.mp4',
|
||||
interactionVideo: 'kc-sh.mp4',
|
||||
tag: 'driving',
|
||||
apiKey: 'bot-20250703161810-sgkrh' // 开车场景的API key
|
||||
apiKey: 'bot-20250623140339-r8f8b' // 开车场景的API key
|
||||
},
|
||||
{
|
||||
name: '喝茶',
|
||||
defaultVideo: '8-5-hc-bd-female.mp4',
|
||||
interactionVideo: '8-5-hc-sh-female.mp4',
|
||||
defaultVideo: 'kf-bd.mp4',
|
||||
interactionVideo: 'kf-sh.mp4',
|
||||
tag: 'tea',
|
||||
apiKey: 'bot-20250805140055-ccdr6' // 喝茶场景的API key
|
||||
apiKey: 'bot-20250804180724-4dgtk' // 喝茶场景的API key
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ export const config = {
|
||||
// LLM API配置
|
||||
llm: {
|
||||
apiKey: 'd012651b-a65b-4b13-8ff3-cc4ff3a29783', // 请替换为实际的API密钥
|
||||
model: 'bot-20250730213756-l627w',
|
||||
model: 'bot-20250724150616-xqpz8',
|
||||
},
|
||||
|
||||
// Minimaxi API配置
|
||||
@ -16,7 +16,7 @@ export const config = {
|
||||
audio: {
|
||||
model: 'speech-02-hd',
|
||||
voiceSetting: {
|
||||
voice_id: 'yantu-qinggang-3',
|
||||
voice_id: 'yantu-qinggang-demo2-male-4',
|
||||
speed: 1,
|
||||
vol: 1,
|
||||
pitch: 0,
|
||||
|
||||
BIN
src/tx.png
BIN
src/tx.png
Binary file not shown.
|
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 6.1 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
videos/kc-bd.mp4
Normal file
BIN
videos/kc-bd.mp4
Normal file
Binary file not shown.
BIN
videos/kc-sh.mp4
Normal file
BIN
videos/kc-sh.mp4
Normal file
Binary file not shown.
BIN
videos/kf-bd.mp4
Normal file
BIN
videos/kf-bd.mp4
Normal file
Binary file not shown.
BIN
videos/kf-sh.mp4
Normal file
BIN
videos/kf-sh.mp4
Normal file
Binary file not shown.
BIN
videos/qc-bd.mp4
Normal file
BIN
videos/qc-bd.mp4
Normal file
Binary file not shown.
BIN
videos/qc-sh.mp4
Normal file
BIN
videos/qc-sh.mp4
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user