'commit'
This commit is contained in:
BIN
dsLightRag/static/audio/tts_20250902_074150_a7eb0d9a.mp3
Normal file
BIN
dsLightRag/static/audio/tts_20250902_074150_a7eb0d9a.mp3
Normal file
Binary file not shown.
BIN
dsLightRag/static/audio/tts_20250902_074443_0df4889a.mp3
Normal file
BIN
dsLightRag/static/audio/tts_20250902_074443_0df4889a.mp3
Normal file
Binary file not shown.
BIN
dsLightRag/static/audio/tts_20250902_074755_81ca2382.mp3
Normal file
BIN
dsLightRag/static/audio/tts_20250902_074755_81ca2382.mp3
Normal file
Binary file not shown.
BIN
dsLightRag/static/audio/tts_20250902_075228_90ccd2a8.mp3
Normal file
BIN
dsLightRag/static/audio/tts_20250902_075228_90ccd2a8.mp3
Normal file
Binary file not shown.
@@ -486,11 +486,14 @@
|
||||
const data = await response.json();
|
||||
console.log('音频生成结果:', data);
|
||||
|
||||
if (data.success) {
|
||||
if (data.status==='success') {
|
||||
// 显示成功消息
|
||||
showSuccess('语音生成成功');
|
||||
|
||||
// 设置音频播放器
|
||||
if(data.audio_url){
|
||||
console.log('音频文件地址:', data.audio_url)
|
||||
}
|
||||
audioPlayer.src = data.audio_url;
|
||||
audioResult.style.display = 'block';
|
||||
|
||||
|
Reference in New Issue
Block a user