增加ASR情绪和语种返回

This commit is contained in:
Sakura-RanChen
2026-01-05 11:17:04 +08:00
parent 85919e800e
commit e6108ccbbd
10 changed files with 115 additions and 175 deletions
-23
View File
@@ -15,29 +15,6 @@ from pydub import AudioSegment
from typing import Callable, Any
TAG = __name__
emoji_map = {
"neutral": "😶",
"happy": "🙂",
"laughing": "😆",
"funny": "😂",
"sad": "😔",
"angry": "😠",
"crying": "😭",
"loving": "😍",
"embarrassed": "😳",
"surprised": "😲",
"shocked": "😱",
"thinking": "🤔",
"winking": "😉",
"cool": "😎",
"relaxed": "😌",
"delicious": "🤤",
"kissy": "😘",
"confident": "😏",
"sleepy": "😴",
"silly": "😜",
"confused": "🙄",
}
def get_local_ip():