Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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])
|