syedmudassir16 commited on
Commit
bfd74d0
·
verified ·
1 Parent(s): 27dc50f

Update app.py

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