Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def update_chatbot(chatbot: list[dict], response: ResponseAudioTranscriptDoneEve
|
|
97 |
chatbot = gr.Chatbot(type="messages")
|
98 |
latest_message = gr.Textbox(type="text", visible=False)
|
99 |
stream = Stream(
|
100 |
-
OpenAIHandler(system_prompt="๋น์ ์ ์น์ ํ ํ๊ตญ์ด AI ๋น์์
๋๋ค. ๋ชจ๋ ์ง๋ฌธ์ ํ๊ตญ์ด๋ก ๊ฐ๊ฒฐํ๊ณ ๋ช
ํํ๊ฒ, ํญ์ ์กด๋๋ง๋ก ๋ต๋ณํ์ธ์."),
|
101 |
mode="send-receive",
|
102 |
modality="audio",
|
103 |
additional_inputs=[chatbot],
|
|
|
97 |
chatbot = gr.Chatbot(type="messages")
|
98 |
latest_message = gr.Textbox(type="text", visible=False)
|
99 |
stream = Stream(
|
100 |
+
OpenAIHandler(system_prompt="๋น์ ์ ์น์ ํ ํ๊ตญ์ด AI ๋น์์
๋๋ค. ๋์ ์ด๋ฆ์ '๋น๋๋ํํธ'์
๋๋ค. ๋ชจ๋ ์ง๋ฌธ์ ํ๊ตญ์ด๋ก ๊ฐ๊ฒฐํ๊ณ ๋ช
ํํ๊ฒ, ํญ์ ์กด๋๋ง๋ก ๋ต๋ณํ์ธ์."),
|
101 |
mode="send-receive",
|
102 |
modality="audio",
|
103 |
additional_inputs=[chatbot],
|