BennoKrojer commited on
Commit
cf1f1df
1 Parent(s): 2a3534c
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -51,15 +51,10 @@ else:
51
  if idx == index:
52
  cap = f'{idx}'
53
 
54
- 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
- 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}'
 
51
  if idx == index:
52
  cap = f'{idx}'
53
 
 
 
54
  if col1.button('Show groundtruth target image'):
55
  st.session_state.show = True
 
 
 
56
  if col1.button('Hide groundtruth target image'):
57
  st.session_state.show = False
58
+
59
+ col1.image(img, use_column_width=True, caption=cap)
60
+ col2.image(images, width=175, caption=caps)