Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ async def generate_audio(history):
|
|
98 |
async def init_chat():
|
99 |
history = [(INITIAL_MESSAGE)]
|
100 |
audio_path = await text_to_speech(INITIAL_MESSAGE)
|
101 |
-
return audio_path
|
102 |
|
103 |
# Gradio interface setup
|
104 |
with gr.Blocks() as demo:
|
|
|
98 |
async def init_chat():
|
99 |
history = [(INITIAL_MESSAGE)]
|
100 |
audio_path = await text_to_speech(INITIAL_MESSAGE)
|
101 |
+
return history, history, audio_path
|
102 |
|
103 |
# Gradio interface setup
|
104 |
with gr.Blocks() as demo:
|