Skip to content

Commit

Permalink
Merge pull request #659 from Ikaros-521/owner
Browse files Browse the repository at this point in the history
简单的一些小改动/完善,无关紧要
  • Loading branch information
Ikaros-521 committed Feb 25, 2024
2 parents edc54b7 + f187440 commit e10bf4a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

`Luna AI` 的外观由 `Live2D、Vtube Studio、xuniren 和 UE5 结合 Audio2Face` 技术打造,为用户提供了一个生动、互动的虚拟形象。这使得 `Luna AI` 能够在各大直播平台,如 `Bilibili、抖音、快手、微信视频号、斗鱼、YouTube、Twitch 和 TikTok`,进行实时互动直播。当然,它也可以在本地环境中与您进行个性化对话。

为了使交流更加自然,`Luna AI` 使用了先进的自然语言处理技术,结合文本转语音系统,如 `Edge-TTS、VITS-Fast、elevenlabs、bark-gui、VALL-E-X、睿声AI、genshinvoice.top、tts.ai-lab.top、OpenVoice、GPT_SoVITSclone-voice`。这不仅让它能够生成流畅的回答,还可以通过 `so-vits-svc 和 DDSP-SVC` 实现声音的变化,以适应不同的场景和角色。
为了使交流更加自然,`Luna AI` 使用了先进的自然语言处理技术,结合文本转语音系统,如 `Edge-TTS、VITS-Fast、elevenlabs、bark-gui、VALL-E-X、睿声AI、genshinvoice.top、tts.ai-lab.top、OpenVoice、GPT_SoVITSclone-voice、Azure TTS`。这不仅让它能够生成流畅的回答,还可以通过 `so-vits-svc 和 DDSP-SVC` 实现声音的变化,以适应不同的场景和角色。

此外,`Luna AI` 还能够通过特定指令与 `Stable Diffusion` 协作,展示画作。用户还可以自定义文案,让 Luna AI 循环播放,以满足不同场合的需求。

Expand Down
4 changes: 3 additions & 1 deletion data/tiktok礼物价格表.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
"甜筒": 1,
"罗莎": 10,
"甜甜圈": 30,
"香水": 20
"香水": 20,
"Cute Cat": 1,
"Rose": 10
}
Binary file modified docs/AI Vtuber.xmind
Binary file not shown.
Binary file modified docs/xmind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def get_bj_time(self, type=0):
4 返回数据:根据调用次数计数到100循环
5 返回数据:当前 时点分
6 返回数据:当前时间的 时, 分
7 返回数据:年-月-日 时-分-秒 毫秒
Returns:
str: 返回指定格式的时间字符串
Expand Down Expand Up @@ -98,6 +99,16 @@ def get_bj_time(self, type=0):
minute = now.tm_min # 获取当前分钟

return hour, minute
elif type == 7:
utc_now = datetime.utcnow().replace(tzinfo=timezone.utc) # 获取当前 UTC 时间
SHA_TZ = timezone(
timedelta(hours=8),
name='Asia/Shanghai',
)
beijing_now = utc_now.astimezone(SHA_TZ) # 将 UTC 时间转换为北京时间
fmt = '%Y-%m-%d %H-%M-%S %f'
now_fmt = beijing_now.strftime(fmt)
return now_fmt

def get_random_value(self, lower_limit, upper_limit):
"""获得2个数之间的随机值
Expand Down

0 comments on commit e10bf4a

Please sign in to comment.