dioarafi commited on
Commit
a145d7c
1 Parent(s): 9abd19b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -26,5 +26,4 @@ def translate_text():
26
  return jsonify({'error': str(e)}), 500
27
 
28
  if __name__ == '__main__':
29
- app.run(debug=True, port=os.getenv("PORT", default=5000))
30
-
 
26
  return jsonify({'error': str(e)}), 500
27
 
28
  if __name__ == '__main__':
29
+ app.run(debug=True, host='0.0.0.0', threaded=True, port=7860)