Michael commited on
Commit
c41f4e6
·
1 Parent(s): 76503dd

Bug fixes.

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, a bigger role, and a fresh start. "
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.2) as legend_col:
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 (enlarged from scale=3 to scale=5)
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: