Hector Lopez commited on
Commit
c06425f
·
1 Parent(s): ad55672
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,8 +8,7 @@ from utils import plot_img_no_mask, get_models
8
  from classifier import CustomEfficientNet, CustomViT
9
  from model import get_model, predict, prepare_prediction, predict_class
10
 
11
- os.system('npx kill-port 7860')
12
- os.system('npx kill-port 7861')
13
 
14
  DET_CKPT = 'efficientDet_icevision.ckpt'
15
  CLASS_CKPT = 'class_ViT_taco_7_class.pth'
 
8
  from classifier import CustomEfficientNet, CustomViT
9
  from model import get_model, predict, prepare_prediction, predict_class
10
 
11
+ os.system('pkill -9 python')
 
12
 
13
  DET_CKPT = 'efficientDet_icevision.ckpt'
14
  CLASS_CKPT = 'class_ViT_taco_7_class.pth'