Imsachinsingh00 commited on
Commit
c7f8880
·
1 Parent(s): b64aae1

another commit

Browse files
Files changed (1) hide show
  1. 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
- app.run(host='0.0.0.0', port=5000, debug=True)
 
 
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