anasmkh commited on
Commit
5b40ea4
·
verified ·
1 Parent(s): 1ec3f62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def is_greeting(user_input):
65
  import gradio as gr
66
  def chat_with_ai(user_input, chat_history):
67
  if is_greeting(user_input):
68
- response = chat_engine.chat(user_input)
69
  chat_history.append((user_input, response))
70
  return chat_history, ""
71
  response = chat_engine.chat(user_input)
 
65
  import gradio as gr
66
  def chat_with_ai(user_input, chat_history):
67
  if is_greeting(user_input):
68
+ response = 'hi, how can i help you?'
69
  chat_history.append((user_input, response))
70
  return chat_history, ""
71
  response = chat_engine.chat(user_input)