Spaces:
Runtime error
Runtime error
BennoKrojer
commited on
Commit
•
2a3534c
1
Parent(s):
684d9c0
app.py
CHANGED
@@ -55,5 +55,11 @@ col1.image(img, use_column_width=True, caption=cap)
|
|
55 |
col2.image(images, width=175, caption=caps)
|
56 |
if col1.button('Show groundtruth target image'):
|
57 |
st.session_state.show = True
|
|
|
|
|
|
|
58 |
if col1.button('Hide groundtruth target image'):
|
59 |
st.session_state.show = False
|
|
|
|
|
|
|
|
55 |
col2.image(images, width=175, caption=caps)
|
56 |
if col1.button('Show groundtruth target image'):
|
57 |
st.session_state.show = True
|
58 |
+
caps[idx] = f'{idx} (TARGET IMAGE)'
|
59 |
+
if idx == index:
|
60 |
+
cap = f'{idx} (TARGET IMAGE)'
|
61 |
if col1.button('Hide groundtruth target image'):
|
62 |
st.session_state.show = False
|
63 |
+
caps[idx] = f'{idx}'
|
64 |
+
if idx == index:
|
65 |
+
cap = f'{idx}'
|