This commit is contained in:
yumoqing 2024-08-04 19:05:24 +08:00
parent b31cfafaf7
commit 8896949cae

View File

@ -63,7 +63,7 @@ bricks.VadText = class extends bricks.VBox {
method:'POST',
params:{
model:this.model,
audiob64:b64audio
audio:audio
}
}
var rj = await hj.httpcall(this.url, d);
@ -71,7 +71,7 @@ bricks.VadText = class extends bricks.VBox {
this.text += rj.content
this.text_w.set_text(this.text);
} else {
w = new bricks.Error({title:'Error',
var w = new bricks.Error({title:'Error',
timeout:4,
message:rj.message
});