更新
This commit is contained in:
parent
af1b902a25
commit
09ae2194d2
@ -92,11 +92,9 @@ class Pusher
|
|||||||
}
|
}
|
||||||
$connection->send($response);
|
$connection->send($response);
|
||||||
} else {
|
} else {
|
||||||
if (strlen($text) > 1) {
|
|
||||||
$resp['payload']['choices']['tts_text'] = $text;
|
$resp['payload']['choices']['tts_text'] = $text;
|
||||||
$text = '';
|
$text = '';
|
||||||
$response = json_encode($resp, true);
|
$response = json_encode($resp, true);
|
||||||
}
|
|
||||||
|
|
||||||
$connection->send($response);
|
$connection->send($response);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user