ZhangYuhan commited on
Commit
6bc5e6c
1 Parent(s): 590dc34

Delete serve/constants.py

Browse files
Files changed (1) hide show
  1. serve/constants.py +0 -20
serve/constants.py DELETED
@@ -1,20 +0,0 @@
1
- import os
2
-
3
- LOGDIR = os.getenv("LOGDIR", "./3DGen-Arena-logs/vote_log")
4
- IMAGE_DIR = os.getenv("IMAGE_DIR", f"{LOGDIR}/images")
5
- OFFLINE_DIR = "./offline"
6
-
7
- SERVER_PORT = os.getenv("SERVER_PORT", 7860)
8
- ROOT_PATH = os.getenv("ROOT_PATH", None)
9
- ELO_RESULTS_DIR = os.getenv("ELO_RESULTS_DIR", "./arena_elo/results/latest")
10
-
11
- LOG_SERVER = os.getenv("LOG_SERVER", "https://tigerai.ca")
12
- LOG_SERVER_SUBDOAMIN = os.getenv("LOG_SERVER_SUBDIR", "GenAI-Arena-hf-logs")
13
- LOG_SERVER_ADDR = os.getenv("LOG_SERVER_ADDR", f"{LOG_SERVER}/{LOG_SERVER_SUBDOAMIN}")
14
- # LOG SERVER API ENDPOINTS
15
- APPEND_JSON = "append_json"
16
- SAVE_IMAGE = "save_image"
17
- SAVE_LOG = "save_log"
18
-
19
- NUM_SIDES = 2
20
- TEXT_PROMPT_PATH = "offline/prompts.json"