Chan55 commited on
Commit
d2eba03
Β·
1 Parent(s): a2ac9bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def process_text(conversation, text):
123
  return completion.choices[0].message.content.strip()
124
 
125
  with gr.Blocks(title="hi") as app2:
126
- chatbot = gr.Chatbot()
127
 
128
  msg = gr.Textbox()
129
  msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
 
123
  return completion.choices[0].message.content.strip()
124
 
125
  with gr.Blocks(title="hi") as app2:
126
+ chatbot = gr.Chatbot([(None, "Hello! It's time for your annual financial review. To ensure we have the most up-to-date information, I'll ask you a few questions. Please answer them as accurately as possible.")])
127
 
128
  msg = gr.Textbox()
129
  msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])