Pepguy commited on
Commit
8efcfa2
·
verified ·
1 Parent(s): cfb8192

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,6 +230,6 @@ def process_image():
230
  return jsonify({"error": "internal failure", "detail": str(e2)}), 500
231
 
232
  if __name__ == "__main__":
233
- port = int(os.getenv("PORT", 5000))
234
  log.info("Starting server on 0.0.0.0:%d", port)
235
  app.run(host="0.0.0.0", port=port, debug=True)
 
230
  return jsonify({"error": "internal failure", "detail": str(e2)}), 500
231
 
232
  if __name__ == "__main__":
233
+ port = int(os.getenv("PORT", 7860))
234
  log.info("Starting server on 0.0.0.0:%d", port)
235
  app.run(host="0.0.0.0", port=port, debug=True)