Update services/sambanova_voice_service.py
Browse files
services/sambanova_voice_service.py
CHANGED
|
@@ -117,19 +117,9 @@ class SambanovaVoiceService:
|
|
| 117 |
),
|
| 118 |
mode="send",
|
| 119 |
modality="audio",
|
| 120 |
-
additional_inputs=[
|
| 121 |
-
|
| 122 |
-
|
| 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 |
additional_outputs_handler=lambda chatbot, state, new_chatbot, new_state: (new_chatbot, new_state),
|
| 134 |
concurrency_limit=3,
|
| 135 |
time_limit=120,
|
|
|
|
| 117 |
),
|
| 118 |
mode="send",
|
| 119 |
modality="audio",
|
| 120 |
+
additional_inputs=[chatbot, conversation_state],
|
| 121 |
+
additional_outputs=[chatbot, conversation_state],
|
| 122 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
additional_outputs_handler=lambda chatbot, state, new_chatbot, new_state: (new_chatbot, new_state),
|
| 124 |
concurrency_limit=3,
|
| 125 |
time_limit=120,
|