Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files- staticfiles/livetest.html +3 -2
- text.txt +1 -1
staticfiles/livetest.html
CHANGED
@@ -327,7 +327,7 @@ async getMiiboResponse(utterance) {
|
|
327 |
|
328 |
async startTalk(input) {
|
329 |
if(_debug==1)
|
330 |
-
alert("start streaming id
|
331 |
if (this.peerConnection?.signalingState === 'stable' || this.peerConnection?.iceConnectionState === 'connected') {
|
332 |
|
333 |
const gender = this.didOptions.presenter.gender;
|
@@ -386,7 +386,7 @@ async startTalk(input) {
|
|
386 |
|
387 |
try {
|
388 |
const playResponse = await this.fetchWithRetries(`https://api.d-id.com/${this.didOptions.service}/streams/${this.streamId}`, requestOptions);
|
389 |
-
|
390 |
startTyping({
|
391 |
el: "#aiResponseUtterance",
|
392 |
string: input,
|
@@ -599,6 +599,7 @@ async fetchWithRetries(url, options, retries = 1) {
|
|
599 |
//alert(utterances.value)
|
600 |
|
601 |
miiboAvatar.autoRecognizeMessage(utterance.value)
|
|
|
602 |
//handleLiveComment(utterance.value, '匿名');
|
603 |
//onClickSend
|
604 |
utterances.value = "";
|
|
|
327 |
|
328 |
async startTalk(input) {
|
329 |
if(_debug==1)
|
330 |
+
alert("start streaming id"+input)
|
331 |
if (this.peerConnection?.signalingState === 'stable' || this.peerConnection?.iceConnectionState === 'connected') {
|
332 |
|
333 |
const gender = this.didOptions.presenter.gender;
|
|
|
386 |
|
387 |
try {
|
388 |
const playResponse = await this.fetchWithRetries(`https://api.d-id.com/${this.didOptions.service}/streams/${this.streamId}`, requestOptions);
|
389 |
+
|
390 |
startTyping({
|
391 |
el: "#aiResponseUtterance",
|
392 |
string: input,
|
|
|
599 |
//alert(utterances.value)
|
600 |
|
601 |
miiboAvatar.autoRecognizeMessage(utterance.value)
|
602 |
+
//case voice box
|
603 |
//handleLiveComment(utterance.value, '匿名');
|
604 |
//onClickSend
|
605 |
utterances.value = "";
|
text.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
|
|
1 |
+
金箔 買取価格 相場
|