Spaces:
Build error
Build error
Commit
·
775cb18
1
Parent(s):
de70cb6
app.py updates
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ ds = load_dataset("Circularmachines/batch_indexing_machine_100_small_imgs", spli
|
|
| 11 |
|
| 12 |
|
| 13 |
pred=np.load('pred.npy')
|
| 14 |
-
|
| 15 |
|
| 16 |
|
| 17 |
#st.set_page_config(
|
|
@@ -40,7 +40,9 @@ def button_click():
|
|
| 40 |
|
| 41 |
def find():
|
| 42 |
point=st.session_state["point"]
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
|
| 46 |
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
pred=np.load('pred.npy')
|
| 14 |
+
keep_bool=np.load('keep_bool.npy')
|
| 15 |
|
| 16 |
|
| 17 |
#st.set_page_config(
|
|
|
|
| 40 |
|
| 41 |
def find():
|
| 42 |
point=st.session_state["point"]
|
| 43 |
+
point=(point[0]//32,point[1]//32)
|
| 44 |
+
point=point[0]*36+point[1]
|
| 45 |
+
st.write(keep_bool[point])
|
| 46 |
|
| 47 |
|
| 48 |
|