ZhangYuhan commited on
Commit
0f18427
1 Parent(s): dfc8175

update log server

Browse files
Files changed (1) hide show
  1. constants.py +1 -1
constants.py CHANGED
@@ -12,7 +12,7 @@ SERVER_PORT = os.getenv("SERVER_PORT", 7860)
12
  ROOT_PATH = os.getenv("ROOT_PATH", None)
13
  ELO_RESULTS_DIR = os.getenv("ELO_RESULTS_DIR", "./arena_elo/results/latest")
14
 
15
- LOG_SERVER = os.getenv("LOG_SERVER", None)
16
  LOG_SERVER_SUBDOAMIN = os.getenv("LOG_SERVER_SUBDIR", "GenAI-Arena-hf-logs")
17
  LOG_SERVER_ADDR = os.getenv("LOG_SERVER_ADDR", f"{LOG_SERVER}/{LOG_SERVER_SUBDOAMIN}")
18
  # LOG SERVER API ENDPOINTS
 
12
  ROOT_PATH = os.getenv("ROOT_PATH", None)
13
  ELO_RESULTS_DIR = os.getenv("ELO_RESULTS_DIR", "./arena_elo/results/latest")
14
 
15
+ LOG_SERVER = os.getenv("LOG_SERVER", "http://2.0.0.1:8800")
16
  LOG_SERVER_SUBDOAMIN = os.getenv("LOG_SERVER_SUBDIR", "GenAI-Arena-hf-logs")
17
  LOG_SERVER_ADDR = os.getenv("LOG_SERVER_ADDR", f"{LOG_SERVER}/{LOG_SERVER_SUBDOAMIN}")
18
  # LOG SERVER API ENDPOINTS