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