Circularmachines commited on
Commit
3b2285a
·
1 Parent(s): 7908310

app.py updates

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -48,7 +48,8 @@ def find():
48
  i=st.session_state["img"]
49
  p=point[0]*36+point[1]
50
  diff=np.linalg.norm(pred_all[np.newaxis,np.newaxis,i,p]-pred_all,axis=-1)
51
- st.write(diff.flatten().argsort()[:4])
 
52
 
53
  # for i in range(4):
54
  # st.session_state["sideimg"][i]+=1
 
48
  i=st.session_state["img"]
49
  p=point[0]*36+point[1]
50
  diff=np.linalg.norm(pred_all[np.newaxis,np.newaxis,i,p]-pred_all,axis=-1)
51
+ for i in range(4):
52
+ st.write(diff.flatten().argsort()[i])
53
 
54
  # for i in range(4):
55
  # st.session_state["sideimg"][i]+=1