pr4nav101 commited on
Commit
7700efe
1 Parent(s): 570983a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ elif page == "PS3":
169
  model2 = YOLO("best.pt")
170
  if uploaded_file1 is not None:
171
  with tempfile.NamedTemporaryFile(delete=False) as temp:
172
- temp.write(uploaded_file.read())
173
  if 'roi_list2' not in st.session_state:
174
  st.session_state['roi_list2'] = []
175
  if "all_rois2" not in st.session_state:
 
169
  model2 = YOLO("best.pt")
170
  if uploaded_file1 is not None:
171
  with tempfile.NamedTemporaryFile(delete=False) as temp:
172
+ temp.write(uploaded_file1.read())
173
  if 'roi_list2' not in st.session_state:
174
  st.session_state['roi_list2'] = []
175
  if "all_rois2" not in st.session_state: