Sergidev commited on
Commit
03cbecd
1 Parent(s): 5bd3c06

Update start.py

Browse files
Files changed (1) hide show
  1. start.py +3 -3
start.py CHANGED
@@ -6,9 +6,9 @@ import sys
6
  # subprocess.run(uninstall_command, shell=True)
7
 
8
  # Install llama-cpp-python with CUDA support
9
- install_command = ["pip", "install", "--upgrade", "--force-reinstall", "llama-cpp-python", "--no-cache-dir"]
10
- install_command_cmake_args = ["CMAKE_ARGS=-DLLAMA_CUBLAS=on", "FORCE_CMAKE=1"]
11
- install_command.extend(install_command_cmake_args)
12
  subprocess.run(install_command, shell=True)
13
 
14
  # Start the Hugging Face Space
 
6
  # subprocess.run(uninstall_command, shell=True)
7
 
8
  # Install llama-cpp-python with CUDA support
9
+ install_command = ["pip" + " install" + " --upgrade" + " --force-reinstall" + " llama-cpp-python"+ " --no-cache-dir"]
10
+ install_command_cmake_args = ["CMAKE_ARGS=-DLLAMA_CUBLAS=on" + " FORCE_CMAKE=1"]
11
+ install_command_cmake_args.extend(install_command)
12
  subprocess.run(install_command, shell=True)
13
 
14
  # Start the Hugging Face Space