Spaces:
Sleeping
Sleeping
Solarum Asteridion
commited on
Update app.py
Browse files
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="""
|