Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 36 |
if __name__ == "__main__":
|
| 37 |
-
|
|
|
|
| 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
|