Update app.py
Browse files
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 |
-
#
|
| 84 |
chatbot = gr.Chatbot(
|
| 85 |
value=[
|
| 86 |
-
(None, "<img src='https://iili.io/HkePUKP.jpg' alt='JOY'>
|
|
|
|
| 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",
|