Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ interface = gr.Interface(
|
|
65 |
|
66 |
],
|
67 |
outputs=["text",
|
68 |
-
|
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 |
|