mattb512 commited on
Commit
21b8280
1 Parent(s): 8e5e740
Files changed (2) hide show
  1. serve/gradio_web_server.py +1 -1
  2. startup.sh +1 -1
serve/gradio_web_server.py CHANGED
@@ -23,7 +23,7 @@ from llava.utils import build_logger, moderation_msg, server_error_msg, violates
23
 
24
  from serve import INTERACTION_MODES_MAP, MODEL_ID_TO_NAME
25
 
26
- LOGDIR = "/logs"
27
 
28
  # logger = build_logger("gradio_web_server", "gradio_web_server.log")
29
 
 
23
 
24
  from serve import INTERACTION_MODES_MAP, MODEL_ID_TO_NAME
25
 
26
+ LOGDIR = "/home/user/app/logs"
27
 
28
  # logger = build_logger("gradio_web_server", "gradio_web_server.log")
29
 
startup.sh CHANGED
@@ -6,7 +6,7 @@ echo "PWD: $(pwd)"
6
  echo $HF_TOKEN > .hf_token
7
  echo "LS: $(ls -als)"
8
 
9
- while true; do nvidia-smi; date ; sleep 600; done &
10
 
11
  python gpu_test.py
12
  python -m serve.controller --host 0.0.0.0 --port 10000 &
 
6
  echo $HF_TOKEN > .hf_token
7
  echo "LS: $(ls -als)"
8
 
9
+ while true; do nvidia-smi; sleep 600; done &
10
 
11
  python gpu_test.py
12
  python -m serve.controller --host 0.0.0.0 --port 10000 &