Spaces:
Sleeping
Sleeping
Update app.py
Browse files147 unmodified lines148149150151152153154155156157158147 unmodified lines# Generate dish cardsdef display_dishes(category):html_content = "<div style='display: flex; flex-direction: column; gap: 20px; width: 80%; margin: 0 auto;'>"for dish in menu_data:if category == "ALL" or dish["category"] == category:html_content += f"""<div style='display: flex; align-items: center; justify-content: space-between; height:100vh; padding: 20px; border: 1px solid #ddd; border-radius: 10px; background-color: #f9f9f9;'><div style='flex: 3; text-align: left;'><h3 style='margin: 0; font-size: 20px;'>{dish['name']}</h3><p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>147 unmodified lines148149150151152153154155156157158147 unmodified lines# Generate dish cardsdef display_dishes(category):html_content = "<div style='display: flex; flex-direction: column; height:100vh; gap: 20px; width: 80%; margin: auto;'>"for dish in menu_data:if category == "ALL" or dish["category"] == category:html_content += f"""<div style='display: flex; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid #ddd; border-radius: 10px; background-color: #f9f9f9;'><div style='flex: 3; text-align: left;'><h3 style='margin: 0; font-size: 20px;'>{dish['name']}</h3><p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>
app.py+2-2