SathvikGanta commited on
Commit
5e86ce8
·
verified ·
1 Parent(s): 3a68a65

Update components/cards.py

Browse files
Files changed (1) hide show
  1. components/cards.py +1 -1
components/cards.py CHANGED
@@ -6,7 +6,7 @@ def create_food_card(food_name):
6
  nutrition = food_info["nutrition"]
7
  portion_size = food_info["portion_size"]
8
 
9
- # Generate HTML for the card
10
  card_html = f"""
11
  <div class="food-card">
12
  <img src="{image_src}" alt="{food_name}" class="food-image" />
 
6
  nutrition = food_info["nutrition"]
7
  portion_size = food_info["portion_size"]
8
 
9
+ # Generate HTML for the popup content
10
  card_html = f"""
11
  <div class="food-card">
12
  <img src="{image_src}" alt="{food_name}" class="food-image" />