Circularmachines
commited on
Commit
·
7908310
1
Parent(s):
568d2a9
app.py updates
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ 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()[
|
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 |
+
st.write(diff.flatten().argsort()[:4])
|
52 |
|
53 |
# for i in range(4):
|
54 |
# st.session_state["sideimg"][i]+=1
|