Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,6 @@ from frontPrompt import main as main_f
|
|
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-any.whl'")
|
16 |
os.system("pip install intel_extension_for_pytorch")
|
17 |
os.environ["CUDA_VISIBLE_DEVICES"] = "" # Forces CPU mode
|
18 |
|
|
|
11 |
model_path = "best.pt"
|
12 |
model = YOLO(model_path)
|
13 |
|
|
|
|
|
14 |
os.system("pip install intel_extension_for_pytorch")
|
15 |
os.environ["CUDA_VISIBLE_DEVICES"] = "" # Forces CPU mode
|
16 |
|