Skip to content

Commit

Permalink
Room: Support tips logs and cleanup when timeout. v5.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jan 19, 2024
1 parent 6483d3b commit 44905e1
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 50 deletions.
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ API without any authentication:
* `/terraform/v1/ai/transcript/hls/overlay/:uuid.m3u8` Generate the preview HLS for transcript stream with overlay text.
* `/terraform/v1/ai/transcript/hls/original/:uuid.m3u8` Generate the preview HLS for original stream without overlay text.
* `/terraform/v1/mgmt/beian/query` Query the beian information.
* `/terraform/v1/ai-talk/stage/examples/` AI-Talk: Play the example audios.
* `/terraform/v1/ai-talk/stage/examples/:file.aac` AI-Talk: Play the example audios.
* `/terraform/v1/ai-talk/stage/tts` AI-Talk: Play the TTS audios.

API without token authentication, but with password authentication:
Expand Down
50 changes: 40 additions & 10 deletions ui/src/ai-talk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
position:relative;
margin: 5% auto;
border-radius:50%;
width:10em; height:10em;
width:10em;
height:10em;
}

.ai-talk-gn-normal:before, .ai-talk-gn-normal:after, .ai-talk-gn-active:before, .ai-talk-gn-active:after, .ai-talk-mc:before, .ai-talk-mc:after{
Expand Down Expand Up @@ -47,13 +48,11 @@
width:20%; height:25%;
}

.ai-talk-usage-tips {
text-align: center;
.ai-talk-trace-logs-pc, .ai-talk-trace-logs-mobile {
overflow: scroll;
}

.ai-talk-container {
min-height: 40vh;
min-width: 80vw;
.ai-talk-container-pc, .ai-talk-container-mobile {
display: flex;
flex-direction: column;
align-items: center;
Expand All @@ -64,6 +63,41 @@
border-radius: 3%;
}

.ai-talk-container-pc {
min-height: 55vh;
max-height: 55vh;
min-width: 40vw;
}

.ai-talk-trace-logs-pc, .ai-talk-trace-logs-mobile {
margin-bottom: 0px;
}

.ai-talk-trace-logs-pc {
min-height: 57vh;
max-height: 57vh;
min-width: 40vw;
}

.ai-talk-container-mobile {
min-height: 30vh;
max-height: 30vh;
}

.ai-talk-trace-logs-mobile {
min-height: 55vh;
max-height: 55vh;
}

.ai-talk-spinner {
width: 10vh;
height: 10vh;
}

.ai-talk-container-pc, .ai-talk-container-mobile {
background-color: #555555;
}

.ai-talk-gn-normal {
background-color: #787878;
}
Expand All @@ -75,7 +109,3 @@
.ai-talk-mc:before {
border: 0.5em solid #fff;
}

.ai-talk-container {
background-color: #555555;
}
Loading

0 comments on commit 44905e1

Please sign in to comment.