Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,9 +60,12 @@ def clear_chat():
|
|
60 |
interface = gr.Interface(
|
61 |
chat,
|
62 |
inputs=["text",
|
63 |
-
gr.Audio(source="microphone", type="numpy"),
|
|
|
64 |
],
|
65 |
-
outputs=["text",
|
|
|
|
|
66 |
title="Chatbot with OpenAI's GPT-3.5 Model",
|
67 |
description="An interactive chatbot using OpenAI's GPT-3.5 model with chat persistence and voice inputs/outputs.",
|
68 |
theme="default",
|
|
|
60 |
interface = gr.Interface(
|
61 |
chat,
|
62 |
inputs=["text",
|
63 |
+
gr.Audio(source="microphone", type="numpy"),
|
64 |
+
"state"
|
65 |
],
|
66 |
+
outputs=["text",
|
67 |
+
"state"
|
68 |
+
],
|
69 |
title="Chatbot with OpenAI's GPT-3.5 Model",
|
70 |
description="An interactive chatbot using OpenAI's GPT-3.5 model with chat persistence and voice inputs/outputs.",
|
71 |
theme="default",
|