Skip to content

Commit d131942

Browse files
Resolving deployment bugs
1 parent 0f5d552 commit d131942

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)