Srinivasulu kethanaboina commited on
Commit
93ef39c
·
verified ·
1 Parent(s): d18ba55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(session_id, message_data)
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