geethareddy commited on
Commit
aab6601
·
verified ·
1 Parent(s): 28100a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,6 +32,6 @@ def menu():
32
 
33
  return render_template("menu.html", food_items=food_items, categories=categories, selected_category=selected_category)
34
 
35
- # Gunicorn will automatically find this app instance and run it
36
  if __name__ == "__main__":
37
- app.run(debug=True) # Only used in development, not in production
 
32
 
33
  return render_template("menu.html", food_items=food_items, categories=categories, selected_category=selected_category)
34
 
35
+ # Use Gunicorn for production environment. No need for app.run() here.
36
  if __name__ == "__main__":
37
+ pass # Gunicorn will handle running the application in production