Update ui/tabs.py
Browse files- ui/tabs.py +3 -3
ui/tabs.py
CHANGED
|
@@ -21,9 +21,9 @@ def create_all_tabs(audio_service: AudioService, chat_service: ChatService,
|
|
| 21 |
hybrid_service: HybridStreamingService
|
| 22 |
):
|
| 23 |
|
| 24 |
-
with gr.Tab("🎙️ Streaming Voice
|
| 25 |
create_streaming_voice_tab(streaming_voice_service)
|
| 26 |
-
with gr.Tab("
|
| 27 |
create_openai_realtime_tab(hybrid_service)
|
| 28 |
with gr.Tab("🎙️ Audio"):
|
| 29 |
create_audio_tab(audio_service)
|
|
@@ -49,7 +49,7 @@ def create_openai_realtime_tab(hybrid_service: HybridStreamingService):
|
|
| 49 |
"""Tạo tab cho OpenAI Realtime API"""
|
| 50 |
|
| 51 |
with gr.Blocks() as openai_tab:
|
| 52 |
-
gr.Markdown("##
|
| 53 |
|
| 54 |
with gr.Row():
|
| 55 |
with gr.Column(scale=1):
|
|
|
|
| 21 |
hybrid_service: HybridStreamingService
|
| 22 |
):
|
| 23 |
|
| 24 |
+
with gr.Tab("🎙️ Streaming Voice "):
|
| 25 |
create_streaming_voice_tab(streaming_voice_service)
|
| 26 |
+
with gr.Tab("OpenAI Realtime"):
|
| 27 |
create_openai_realtime_tab(hybrid_service)
|
| 28 |
with gr.Tab("🎙️ Audio"):
|
| 29 |
create_audio_tab(audio_service)
|
|
|
|
| 49 |
"""Tạo tab cho OpenAI Realtime API"""
|
| 50 |
|
| 51 |
with gr.Blocks() as openai_tab:
|
| 52 |
+
gr.Markdown("## OpenAI Realtime API - Streaming Chất Lượng Cao")
|
| 53 |
|
| 54 |
with gr.Row():
|
| 55 |
with gr.Column(scale=1):
|