rein0421 commited on
Commit
21317c6
·
verified ·
1 Parent(s): 449a015

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,4 +34,5 @@ def upload_audio():
34
  return jsonify({"error": str(e)}), 500
35
 
36
  if __name__ == '__main__':
37
- app.run(debug=True)
 
 
34
  return jsonify({"error": str(e)}), 500
35
 
36
  if __name__ == '__main__':
37
+ port = int(os.environ.get("PORT", 7860))
38
+ app.run(debug=True,, host="0.0.0.0", port=port)