Spaces:
Runtime error
Runtime error
Ceyda Cinarel
commited on
Commit
·
4474721
1
Parent(s):
ac23d39
add config
Browse files- .streamlit/config.toml +1 -0
- app.py +3 -2
.streamlit/config.toml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
maxUploadSize = 1
|
app.py
CHANGED
@@ -95,8 +95,9 @@ for i,(id_, dist) in enumerate(zip(ids, dists)):
|
|
95 |
with res_cols[j]:
|
96 |
if isinstance(id_, np.int32):
|
97 |
st.image("./imgs/"+file_names[id_])
|
|
|
|
|
98 |
else:
|
99 |
st.image(id_)
|
100 |
-
|
101 |
-
st.write(dist)
|
102 |
|
|
|
95 |
with res_cols[j]:
|
96 |
if isinstance(id_, np.int32):
|
97 |
st.image("./imgs/"+file_names[id_])
|
98 |
+
# st.write(file_names[id_])
|
99 |
+
st.write(1.0 - dist)
|
100 |
else:
|
101 |
st.image(id_)
|
102 |
+
st.write(dist)
|
|
|
103 |
|