NeuroDonu commited on
Commit
bf98f61
·
verified ·
1 Parent(s): ef502b6

Update visomaster/visomaster_install.py

Browse files
Files changed (1) hide show
  1. visomaster/visomaster_install.py +1 -2
visomaster/visomaster_install.py CHANGED
@@ -56,7 +56,7 @@ def setup_cuda_paths():
56
  current_path = os.environ.get("PATH", "")
57
  os.environ["PATH"] = f"{cuda_bin_path};{cuda_lib_path};{current_path}"
58
 
59
- def install_req():
60
  uv_torch = [uv_cmd, "torch==2.4.1", "torchvision", "torchaudio", "--index-url", "https://download.pytorch.org/whl/cu124"]
61
  uv_tensorrt = [uv_cmd, "tensorrt==10.6.0", "tensorrt-cu12_libs==10.6.0", "tensorrt-cu12_bindings==10.6.0", "--index-url", "https://pypi.nvidia.com"]
62
  dependencies = [
@@ -114,7 +114,6 @@ if __name__ == "__main__":
114
 
115
  clone_git_repo(git_repo_url, visomaster_dir)
116
  setup_cuda_paths()
117
- modify_requirements_file(requirements)
118
  install_requirements()
119
  download_bat()
120
  download_ffmpeg()
 
56
  current_path = os.environ.get("PATH", "")
57
  os.environ["PATH"] = f"{cuda_bin_path};{cuda_lib_path};{current_path}"
58
 
59
+ def install_requirements():
60
  uv_torch = [uv_cmd, "torch==2.4.1", "torchvision", "torchaudio", "--index-url", "https://download.pytorch.org/whl/cu124"]
61
  uv_tensorrt = [uv_cmd, "tensorrt==10.6.0", "tensorrt-cu12_libs==10.6.0", "tensorrt-cu12_bindings==10.6.0", "--index-url", "https://pypi.nvidia.com"]
62
  dependencies = [
 
114
 
115
  clone_git_repo(git_repo_url, visomaster_dir)
116
  setup_cuda_paths()
 
117
  install_requirements()
118
  download_bat()
119
  download_ffmpeg()