Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,9 @@ def clear_chat():
|
|
59 |
# Define interface
|
60 |
interface = gr.Interface(
|
61 |
chat,
|
62 |
-
inputs=["text",
|
|
|
|
|
63 |
outputs=["text", gr.outputs.Voice()],
|
64 |
title="Chatbot with OpenAI's GPT-3.5 Model",
|
65 |
description="An interactive chatbot using OpenAI's GPT-3.5 model with chat persistence and voice inputs/outputs.",
|
|
|
59 |
# Define interface
|
60 |
interface = gr.Interface(
|
61 |
chat,
|
62 |
+
inputs=["text",
|
63 |
+
gr.Audio(source="microphone", type="numpy"),
|
64 |
+
],
|
65 |
outputs=["text", gr.outputs.Voice()],
|
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.",
|