syedmudassir16 commited on
Commit
c72e4cf
·
verified ·
1 Parent(s): 5ffa7c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,9 +96,9 @@ async def generate_audio(history):
96
  return None
97
 
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:
 
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: