Dark-O-Ether commited on
Commit
da6615b
·
1 Parent(s): 3f234d7

testing v-0.1.0

Browse files
Files changed (2) hide show
  1. init.sh +1 -1
  2. init2.sh +2 -2
init.sh CHANGED
@@ -41,5 +41,5 @@ nohup ./bin/llama-server \
41
  disown
42
  echo "llama-server launched. Waiting for the server to initialize..."
43
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
44
- sleep 45
45
  echo "Initialization complete. Proceeding with Streamlit app startup..."
 
41
  disown
42
  echo "llama-server launched. Waiting for the server to initialize..."
43
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
44
+ sleep 5
45
  echo "Initialization complete. Proceeding with Streamlit app startup..."
init2.sh CHANGED
@@ -18,7 +18,7 @@ if [ -d "llama.cpp" ]; then
18
  disown
19
  echo "llama-server launched. Waiting for the server to initialize..."
20
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
21
- sleep 45
22
  echo "Initialization complete. Proceeding with Streamlit app startup..."
23
  else
24
  echo "Directory 'build' not found inside 'llama.cpp'"
@@ -43,7 +43,7 @@ elif [ "$(basename "$PWD")" = "llama.cpp" ]; then
43
  disown
44
  echo "llama-server launched. Waiting for the server to initialize..."
45
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
46
- sleep 45
47
  echo "Initialization complete. Proceeding with Streamlit app startup..."
48
  else
49
  echo "Directory 'build' not found in the current 'llama.cpp' folder"
 
18
  disown
19
  echo "llama-server launched. Waiting for the server to initialize..."
20
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
21
+ sleep 5
22
  echo "Initialization complete. Proceeding with Streamlit app startup..."
23
  else
24
  echo "Directory 'build' not found inside 'llama.cpp'"
 
43
  disown
44
  echo "llama-server launched. Waiting for the server to initialize..."
45
  # (Optional) Wait a few seconds for the server to start before launching Streamlit
46
+ sleep 5
47
  echo "Initialization complete. Proceeding with Streamlit app startup..."
48
  else
49
  echo "Directory 'build' not found in the current 'llama.cpp' folder"