syedfaisalabrar commited on
Commit
9ae840f
·
verified ·
1 Parent(s): d79e816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -11,6 +11,7 @@ from frontPrompt import main as main_f
11
  model_path = "best.pt"
12
  model = YOLO(model_path)
13
 
 
14
  os.system("pip install --force-reinstall 'https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_multi-backend-refactor/bitsandbytes-0.44.1.dev0-py3-none-win_amd64.whl'")
15
  os.system("pip install intel_extension_for_pytorch")
16
  os.environ["CUDA_VISIBLE_DEVICES"] = "" # Forces CPU mode
 
11
  model_path = "best.pt"
12
  model = YOLO(model_path)
13
 
14
+ os.system("pip uninstall -y bitsandbytes")
15
  os.system("pip install --force-reinstall 'https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_multi-backend-refactor/bitsandbytes-0.44.1.dev0-py3-none-win_amd64.whl'")
16
  os.system("pip install intel_extension_for_pytorch")
17
  os.environ["CUDA_VISIBLE_DEVICES"] = "" # Forces CPU mode