Aniquel commited on
Commit
d400b93
1 Parent(s): 704b409

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def text_to_speech(text):
28
  display(Audio(mp3, autoplay=True))
29
 
30
  # Define function to get chatbot response
31
- def chat(text):
32
  # Append user input to chat history
33
  chat_history.append(f"User: {text}")
34
 
 
28
  display(Audio(mp3, autoplay=True))
29
 
30
  # Define function to get chatbot response
31
+ async def chat(input_text, state):
32
  # Append user input to chat history
33
  chat_history.append(f"User: {text}")
34