datacipen commited on
Commit
1bf421e
·
verified ·
1 Parent(s): 0027659

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -159,8 +159,8 @@ async def on_message(message: cl.Message):
159
  # Query the agent.
160
  response = query_agent(agent=agent, query=message.content)
161
  # Decode the response.
162
- decoded_response = decode_response(response)
163
 
164
  # Write the response to the Streamlit app.
165
- result = write_response(decoded_response)
166
- await cl.Message(author="COPILOT",content=GoogleTranslator(source='auto', target='fr').translate(result)).send()
 
159
  # Query the agent.
160
  response = query_agent(agent=agent, query=message.content)
161
  # Decode the response.
162
+ #decoded_response = decode_response(response)
163
 
164
  # Write the response to the Streamlit app.
165
+ #result = write_response(decoded_response)
166
+ await cl.Message(author="COPILOT",content=GoogleTranslator(source='auto', target='fr').translate(response)).send()