zmbfeng commited on
Commit
41d2d4a
·
1 Parent(s): 710c1d8

image reszied

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -59,7 +59,10 @@ if 'is_initialized' not in st.session_state:
59
 
60
  # Create the radio button group
61
  selected_option = st.radio("Choose an option:", options, index=options.index(st.session_state.selected_option))
62
- st.image(images[options.index(selected_option)])
 
 
 
63
 
64
  if st.session_state.selected_option != selected_option:
65
  print("The selected option has changed!")
 
59
 
60
  # Create the radio button group
61
  selected_option = st.radio("Choose an option:", options, index=options.index(st.session_state.selected_option))
62
+ img_col1, img_col2 = st.columns([1,1])
63
+
64
+ with img_col1:
65
+ st.image(images[options.index(selected_option)])
66
 
67
  if st.session_state.selected_option != selected_option:
68
  print("The selected option has changed!")