Update main.py
Browse files
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()
|