JaredBailey commited on
Commit
a918047
·
verified ·
1 Parent(s): 2e00ec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -48,7 +48,6 @@ if 'confidence' not in st.session_state:
48
  st.session_state.confidence = 0.50
49
 
50
  if 'model' not in st.session_state:
51
- torch.cuda.set_device(0)
52
  st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
53
 
54
  _, row0_col1, _ = st.columns([2,3,2])
 
48
  st.session_state.confidence = 0.50
49
 
50
  if 'model' not in st.session_state:
 
51
  st.session_state.model = YOLO("/home/user/app/models/head_model/best.pt") # load
52
 
53
  _, row0_col1, _ = st.columns([2,3,2])