Imsachinsingh00 commited on
Commit
bbc0202
·
1 Parent(s): a83930f

remove python slim

Browse files
Files changed (1) hide show
  1. Web_app/app.py +5 -1
Web_app/app.py CHANGED
@@ -661,8 +661,12 @@ def visualize_csv(file_path):
661
  except Exception as e:
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
 
 
 
661
  except Exception as e:
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
  if __name__ == '__main__':
668
+ port = int(os.environ.get("PORT", 7860))
669
  app.run(host='0.0.0.0', port=port, debug=True)
670
 
671
 
672
+