mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
feat: default text
This commit is contained in:
parent
c4da70b271
commit
ff836d81b4
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ class VoiceService:
|
||||||
try:
|
try:
|
||||||
# Read audio file content for cloning
|
# Read audio file content for cloning
|
||||||
audio_content = await audio_file.read()
|
audio_content = await audio_file.read()
|
||||||
|
logger.bind(tag=TAG).info(f"Audio content length: {len(audio_content)} bytes")
|
||||||
|
|
||||||
# Step 1: Clone voice using Fish Audio API
|
# Step 1: Clone voice using Fish Audio API
|
||||||
fish_voice: FishVoice = await fish_client.voices.create(
|
fish_voice: FishVoice = await fish_client.voices.create(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue