datacipen commited on
Commit
6e521d7
1 Parent(s): 641af9a

Update main.py

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