Zepero commited on
Commit
97bdd68
·
verified ·
1 Parent(s): 00ce45f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -178,5 +178,6 @@ def health():
178
  return jsonify({"status": "healthy", "model": "BPJS Chatbot Improved"})
179
 
180
  if __name__ == '__main__':
181
- app.run(host='0.0.0.0',port=7860, debug=False) #ganti dari 5000 ke 7860
 
182
 
 
178
  return jsonify({"status": "healthy", "model": "BPJS Chatbot Improved"})
179
 
180
  if __name__ == '__main__':
181
+ from waitress import serve
182
+ serve(app, host='0.0.0.0', port=7860)
183