Michael commited on
Commit ·
c41f4e6
1
Parent(s): 76503dd
Bug fixes.
Browse files
app.py
CHANGED
|
@@ -315,7 +315,7 @@ PERSONAS = {
|
|
| 315 |
# "You are Sarah Chen, a 38-year-old married female from the United States. "
|
| 316 |
# "You work as a nurse and have a medium income. "
|
| 317 |
"You are Sarah Chen, a 38-year-old nurse living in the United States. "
|
| 318 |
-
"Sarah recently relocated from Seattle, Washington to Austin, Texas for a new job opportunity. The move was a significant step: a higher salary
|
| 319 |
"However, the transition has been more difficult than she expected. Her spouse stayed behind in Seattle temporarily while wrapping up their own job, so Sarah has been settling in alone. The cost of living in Austin is higher than she anticipated, and her new workplace is demanding. "
|
| 320 |
"She has been feeling stressed and overwhelmed. Sarah has been active on social media, posting about her experiences. Today, she decides to turn to an AI assistant to help her think through how to cope with her stress and find a better work-life balance in her new environment. "
|
| 321 |
"\nWrite your messages as Sarah would."
|
|
@@ -6474,7 +6474,7 @@ def create_ui(
|
|
| 6474 |
|
| 6475 |
with gr.Row():
|
| 6476 |
# LEFT: legend + settings panel
|
| 6477 |
-
with gr.Column(scale=0.
|
| 6478 |
with gr.Group(visible=False) as legend_group:
|
| 6479 |
# with gr.Row():
|
| 6480 |
gr.Markdown("### 🎨 Legend")
|
|
@@ -6567,7 +6567,7 @@ def create_ui(
|
|
| 6567 |
)
|
| 6568 |
|
| 6569 |
|
| 6570 |
-
# CENTER: conversation
|
| 6571 |
with gr.Column(scale=9):
|
| 6572 |
conversation_panel_title = "### 💬 Conversation"
|
| 6573 |
if show_raghl_default:
|
|
|
|
| 315 |
# "You are Sarah Chen, a 38-year-old married female from the United States. "
|
| 316 |
# "You work as a nurse and have a medium income. "
|
| 317 |
"You are Sarah Chen, a 38-year-old nurse living in the United States. "
|
| 318 |
+
"Sarah recently relocated from Seattle, Washington to Austin, Texas for a new job opportunity. The move was a significant step: a higher salary and a bigger role. "
|
| 319 |
"However, the transition has been more difficult than she expected. Her spouse stayed behind in Seattle temporarily while wrapping up their own job, so Sarah has been settling in alone. The cost of living in Austin is higher than she anticipated, and her new workplace is demanding. "
|
| 320 |
"She has been feeling stressed and overwhelmed. Sarah has been active on social media, posting about her experiences. Today, she decides to turn to an AI assistant to help her think through how to cope with her stress and find a better work-life balance in her new environment. "
|
| 321 |
"\nWrite your messages as Sarah would."
|
|
|
|
| 6474 |
|
| 6475 |
with gr.Row():
|
| 6476 |
# LEFT: legend + settings panel
|
| 6477 |
+
with gr.Column(scale=0.1) as legend_col:
|
| 6478 |
with gr.Group(visible=False) as legend_group:
|
| 6479 |
# with gr.Row():
|
| 6480 |
gr.Markdown("### 🎨 Legend")
|
|
|
|
| 6567 |
)
|
| 6568 |
|
| 6569 |
|
| 6570 |
+
# CENTER: conversation
|
| 6571 |
with gr.Column(scale=9):
|
| 6572 |
conversation_panel_title = "### 💬 Conversation"
|
| 6573 |
if show_raghl_default:
|