Aniquel commited on
Commit
d09dc8b
1 Parent(s): cbcd339

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -65,7 +65,7 @@ interface = gr.Interface(
65
 
66
  ],
67
  outputs=["text",
68
- "Audio"
69
  ],
70
  title="Chatbot with OpenAI's GPT-3.5 Model",
71
  description="An interactive chatbot using OpenAI's GPT-3.5 model with chat persistence and voice inputs/outputs.",
@@ -81,4 +81,5 @@ interface = gr.Interface(
81
  # Run interface
82
  interface.launch()
83
 
 
84
 
 
65
 
66
  ],
67
  outputs=["text",
68
+ gr.outputs.Voice()
69
  ],
70
  title="Chatbot with OpenAI's GPT-3.5 Model",
71
  description="An interactive chatbot using OpenAI's GPT-3.5 model with chat persistence and voice inputs/outputs.",
 
81
  # Run interface
82
  interface.launch()
83
 
84
+ save_chat_history() # save the chat history to a file
85