redfernstech commited on
Commit
c2bd103
·
verified ·
1 Parent(s): 7845a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -185,6 +185,8 @@ async def receive_form_data(request: Request):
185
  async def chat(request: MessageRequest):
186
  message = request.message # Access the message from the request body
187
  response = handle_query(message) # Process the message
 
 
188
  message_data = {
189
  "sender": "User",
190
  "message": message,
 
185
  async def chat(request: MessageRequest):
186
  message = request.message # Access the message from the request body
187
  response = handle_query(message) # Process the message
188
+ language =request.language
189
+ print(language)
190
  message_data = {
191
  "sender": "User",
192
  "message": message,