bugfix
This commit is contained in:
parent
b31cfafaf7
commit
8896949cae
@ -63,7 +63,7 @@ bricks.VadText = class extends bricks.VBox {
|
|||||||
method:'POST',
|
method:'POST',
|
||||||
params:{
|
params:{
|
||||||
model:this.model,
|
model:this.model,
|
||||||
audiob64:b64audio
|
audio:audio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var rj = await hj.httpcall(this.url, d);
|
var rj = await hj.httpcall(this.url, d);
|
||||||
@ -71,7 +71,7 @@ bricks.VadText = class extends bricks.VBox {
|
|||||||
this.text += rj.content
|
this.text += rj.content
|
||||||
this.text_w.set_text(this.text);
|
this.text_w.set_text(this.text);
|
||||||
} else {
|
} else {
|
||||||
w = new bricks.Error({title:'Error',
|
var w = new bricks.Error({title:'Error',
|
||||||
timeout:4,
|
timeout:4,
|
||||||
message:rj.message
|
message:rj.message
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user