Skip to content

Commit b74b681

Browse files
Merge pull request #40 from ISE-GenAI-TechX25-Section-D/fixingBugs
Resolving deployment bugs
2 parents 0195d30 + d131942 commit b74b681

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
def display_app_page():
1515
"""Displays the home page of the app."""
1616
userId = 'user1'
17+
user_profile = get_user_profile(userId)
18+
user_name = user_profile['username']
1719

18-
sl.title(f'Welcome {get_user_profile(userId)['username']} to MyFitness!')
20+
sl.title(f'Welcome {user_name} to MyFitness!')
1921

2022
posts, recent_workouts, activity_summary, genai_advice = sl.tabs(["Posts", "Recent_Workouts", "Activity Summary", "GenAI Advice"])
2123

0 commit comments

Comments
 (0)