bupa1018 commited on
Commit
159b472
·
1 Parent(s): a18c49f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,9 +52,9 @@ import gradio as gr
52
 
53
  def add_text_to_chatbot(chat_history, user_input):
54
  if user_input:
55
- chat_history.append((None, user_input))
56
  response = "This is a placeholder response. Replace this with your AI logic."
57
- chat_history.append(("response", None))
58
  return chat_history, ""
59
 
60
  def main():
 
52
 
53
  def add_text_to_chatbot(chat_history, user_input):
54
  if user_input:
55
+ chat_history.append((user_input, None))
56
  response = "This is a placeholder response. Replace this with your AI logic."
57
+ chat_history.append((None, response))
58
  return chat_history, ""
59
 
60
  def main():