camparchimedes commited on
Commit
1c84663
ยท
verified ยท
1 Parent(s): f709b40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -116,8 +116,7 @@ async def handle_message(message: cl.Message):
116
  callbacks=[cl.AsyncLangchainCallbackHandler()])
117
  response_key = "output" if "output" in response else "text"
118
  await cl.Message(response.get(response_key, "")).send()
 
119
 
120
 
121
 
122
- if __name__ == '__main__':
123
- cl.launch()
 
116
  callbacks=[cl.AsyncLangchainCallbackHandler()])
117
  response_key = "output" if "output" in response else "text"
118
  await cl.Message(response.get(response_key, "")).send()
119
+ return message.content
120
 
121
 
122