Spaces:
Sleeping
Sleeping
π Fix: Ensure backend starts and runs Flask app
Browse files
app.py
CHANGED
|
@@ -40,3 +40,6 @@ def predict_single():
|
|
| 40 |
if __name__ == "__main__":
|
| 41 |
port = int(os.environ.get("PORT", 7860))
|
| 42 |
app.run(host="0.0.0.0", port=port)
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
if __name__ == "__main__":
|
| 41 |
port = int(os.environ.get("PORT", 7860))
|
| 42 |
app.run(host="0.0.0.0", port=port)
|
| 43 |
+
|
| 44 |
+
print("π Flask app has started on port", port)
|
| 45 |
+
|