amagastya commited on
Commit
31e1c6e
·
verified ·
1 Parent(s): 957ce8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -80,10 +80,11 @@ Above all, your goal is to make the user feel seen, safe, and a little less alon
80
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
81
  # Single column layout for better mobile compatibility
82
  with gr.Column():
83
- # Combine the image and welcome message into a single message
84
  chatbot = gr.Chatbot(
85
  value=[
86
- (None, "<img src='https://iili.io/HkePUKP.jpg' alt='JOY'>\n\n👋 Hi there! I'm JOY, your friend :)\nI'm here to listen, if you feel like talking. You don't have to have it all figured out.\nWhat's on your mind?")
 
87
  ],
88
  height=500, # Set a fixed height to ensure visibility
89
  label="JOY",
 
80
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
81
  # Single column layout for better mobile compatibility
82
  with gr.Column():
83
+ # Add image and welcome message as separate messages
84
  chatbot = gr.Chatbot(
85
  value=[
86
+ (None, "<img src='https://iili.io/HkePUKP.jpg' alt='JOY'>"),
87
+ (None, "👋 Hi there! I'm JOY, your friend :)\nI'm here to listen, if you feel like talking. You don't have to have it all figured out.\nWhat's on your mind?")
88
  ],
89
  height=500, # Set a fixed height to ensure visibility
90
  label="JOY",