Aniquel commited on
Commit
4bcffae
1 Parent(s): fab5430

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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", 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.",
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",