Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def analyze_mood(user_input):
|
|
20 |
suggestion = "You're doing well! Stay calm 🌸"
|
21 |
|
22 |
# Output mood and suggestion
|
23 |
-
return "Your mood is " + mood
|
24 |
|
25 |
inputs = gr.Textbox(label="How are you feeling today?", placeholder="Type your thoughts here...")
|
26 |
outputs = gr.Textbox(label="Mood and Suggestion")
|
|
|
20 |
suggestion = "You're doing well! Stay calm 🌸"
|
21 |
|
22 |
# Output mood and suggestion
|
23 |
+
return "Your mood is " + mood + ". " + suggestion
|
24 |
|
25 |
inputs = gr.Textbox(label="How are you feeling today?", placeholder="Type your thoughts here...")
|
26 |
outputs = gr.Textbox(label="Mood and Suggestion")
|