Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,7 +170,7 @@ def process_text(conversation, text):
|
|
| 170 |
return completion.choices[0].message.content.strip()
|
| 171 |
|
| 172 |
with gr.Blocks(title="hi") as app2:
|
| 173 |
-
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.
|
| 174 |
|
| 175 |
msg = gr.Textbox(label="Write")
|
| 176 |
msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
|
|
|
|
| 170 |
return completion.choices[0].message.content.strip()
|
| 171 |
|
| 172 |
with gr.Blocks(title="hi") as app2:
|
| 173 |
+
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. Have there been any major changes to your employment status or primary source of income in the past year?")] , label="Agent")
|
| 174 |
|
| 175 |
msg = gr.Textbox(label="Write")
|
| 176 |
msg.submit(run_text_prompt, [msg, chatbot], [msg, chatbot])
|