CanHuggie commited on
Commit
cc82ca4
·
verified ·
1 Parent(s): c75339d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ model_url = os.getenv('MODEL_URL', 'http://localhost:8000/v1')
34
  model_name = os.getenv('MODEL_NAME', 'default-model-name') # Make sure to set this in the environment
35
  temperature = float(os.getenv('TEMPERATURE', 0.8))
36
  stop_token_ids = os.getenv('STOP_TOKEN_IDS', '')
37
- host = '0.0.0.0'
38
  port_str = os.getenv('PORT', '8001')
39
  try:
40
  port = int(port_str)
 
34
  model_name = os.getenv('MODEL_NAME', 'default-model-name') # Make sure to set this in the environment
35
  temperature = float(os.getenv('TEMPERATURE', 0.8))
36
  stop_token_ids = os.getenv('STOP_TOKEN_IDS', '')
37
+ host = os.getenv('HOST','0.0.0.0')
38
  port_str = os.getenv('PORT', '8001')
39
  try:
40
  port = int(port_str)