Artin2009 commited on
Commit
642ca55
1 Parent(s): d51502e

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +1 -2
chain_app.py CHANGED
@@ -1017,8 +1017,6 @@ async def chat_profile():
1017
  @cl.on_chat_start
1018
  async def on_chat_start():
1019
  chat_profile = cl.user_session.get("chat_profile")
1020
-
1021
-
1022
  if chat_profile == 'neural-brain-AI':
1023
  await cl.ChatSettings(
1024
  [
@@ -1909,6 +1907,7 @@ async def main(message: cl.Message):
1909
  chat_profile = cl.user_session.get("chat_profile")
1910
 
1911
  name = await cl.AskUserMessage(content="What is your name?", timeout=10).send()
 
1912
  res = await cl.AskActionMessage(
1913
  content="Is that message correct and accurate ? check it and choose an option:",
1914
  actions=[
 
1017
  @cl.on_chat_start
1018
  async def on_chat_start():
1019
  chat_profile = cl.user_session.get("chat_profile")
 
 
1020
  if chat_profile == 'neural-brain-AI':
1021
  await cl.ChatSettings(
1022
  [
 
1907
  chat_profile = cl.user_session.get("chat_profile")
1908
 
1909
  name = await cl.AskUserMessage(content="What is your name?", timeout=10).send()
1910
+
1911
  res = await cl.AskActionMessage(
1912
  content="Is that message correct and accurate ? check it and choose an option:",
1913
  actions=[