Solarum Asteridion commited on
Commit
99c26a4
·
verified ·
1 Parent(s): 2630b0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,8 +81,8 @@ def chatbot_interface(user_message, history):
81
  ai_response = generate_response(user_message, history)
82
  history.append({"role": "user", "content": user_message})
83
  history.append({"role": "assistant", "content": ai_response})
84
- logger.info(history)
85
- return history
86
 
87
  # Define Gradio Interface
88
  with gr.Blocks(css="""
 
81
  ai_response = generate_response(user_message, history)
82
  history.append({"role": "user", "content": user_message})
83
  history.append({"role": "assistant", "content": ai_response})
84
+ logger.info(history, history)
85
+ return history, history
86
 
87
  # Define Gradio Interface
88
  with gr.Blocks(css="""