Spaces:
Runtime error
Runtime error
Yash goyal commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -333,4 +333,7 @@ def download_report():
|
|
| 333 |
return send_file(filepath, as_attachment=True)
|
| 334 |
|
| 335 |
if __name__ == "__main__":
|
| 336 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 333 |
return send_file(filepath, as_attachment=True)
|
| 334 |
|
| 335 |
if __name__ == "__main__":
|
| 336 |
+
import os
|
| 337 |
+
port = int(os.environ.get("PORT", 5000))
|
| 338 |
+
app.run(host="0.0.0.0", port=port)
|
| 339 |
+
|