Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def chat_interface(message, history,request: gr.Request):
|
|
130 |
}
|
131 |
|
132 |
# Call the save function to store in Firebase with the generated session ID
|
133 |
-
save_chat_message(
|
134 |
|
135 |
# Return the bot response
|
136 |
return response
|
|
|
130 |
}
|
131 |
|
132 |
# Call the save function to store in Firebase with the generated session ID
|
133 |
+
save_chat_message(request.client.host, message_data)
|
134 |
|
135 |
# Return the bot response
|
136 |
return response
|