Update services/sambanova_voice_service.py
Browse files
services/sambanova_voice_service.py
CHANGED
|
@@ -117,8 +117,19 @@ class SambanovaVoiceService:
|
|
| 117 |
),
|
| 118 |
mode="send",
|
| 119 |
modality="audio",
|
| 120 |
-
additional_inputs=[
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
additional_outputs_handler=lambda chatbot, state, new_chatbot, new_state: (new_chatbot, new_state),
|
| 124 |
concurrency_limit=3,
|
|
|
|
| 117 |
),
|
| 118 |
mode="send",
|
| 119 |
modality="audio",
|
| 120 |
+
additional_inputs=[
|
| 121 |
+
gr.Chatbot(
|
| 122 |
+
type="messages",
|
| 123 |
+
value=[],
|
| 124 |
+
label="💬 Voice Conversation",
|
| 125 |
+
height=400
|
| 126 |
+
),
|
| 127 |
+
gr.State(value=[])
|
| 128 |
+
],
|
| 129 |
+
additional_outputs=[
|
| 130 |
+
gr.Chatbot(type="messages", value=[]),
|
| 131 |
+
gr.State(value=[])
|
| 132 |
+
],
|
| 133 |
|
| 134 |
additional_outputs_handler=lambda chatbot, state, new_chatbot, new_state: (new_chatbot, new_state),
|
| 135 |
concurrency_limit=3,
|