Spaces:
Runtime error
Runtime error
Commit
·
c7f8880
1
Parent(s):
b64aae1
another commit
Browse files- Web_app/app.py +3 -1
Web_app/app.py
CHANGED
@@ -662,5 +662,7 @@ def visualize_csv(file_path):
|
|
662 |
return f"An error occurred while processing the file: {str(e)}", 500
|
663 |
|
664 |
if __name__ == '__main__':
|
665 |
-
|
|
|
|
|
666 |
|
|
|
662 |
return f"An error occurred while processing the file: {str(e)}", 500
|
663 |
|
664 |
if __name__ == '__main__':
|
665 |
+
port = int(os.environ.get("PORT", 5000))
|
666 |
+
app.run(host='0.0.0.0', port=port, debug=True)
|
667 |
+
|
668 |
|