razanalsulami commited on
Commit
21c7d19
1 Parent(s): 110d905

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ def analyze_mood(user_input):
22
 
23
  # Return the mood and the suggestion for the user
24
  return "Your mood is: " + mood, suggestion
 
 
 
25
 
26
- inputs = gr.Textbox(label="How are you feeling today?", placeholder="Type your thoughts here...")
27
- outputs = gr.Textbox(label="Mood and Suggestion")
28
 
29
  gr.Interface(fn=analyze_mood, inputs=inputs, outputs=outputs, title="Mood Analyzer").launch()
 
22
 
23
  # Return the mood and the suggestion for the user
24
  return "Your mood is: " + mood, suggestion
25
+
26
+ inputs = gr.Textbox(label="How are you feeling today?", placeholder="Type your thoughts here...")
27
+ outputs = gr.Textbox(label="Mood and Suggestion")
28
 
 
 
29
 
30
  gr.Interface(fn=analyze_mood, inputs=inputs, outputs=outputs, title="Mood Analyzer").launch()