Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ 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 |
|
| 17 |
|
| 18 |
def preprocessing(image):
|
|
|
|
| 12 |
model = YOLO(model_path)
|
| 13 |
|
| 14 |
os.system("pip install intel_extension_for_pytorch")
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
def preprocessing(image):
|