cd14 commited on
Commit
bcef371
1 Parent(s): 57a11a7

bug fixing for df_recom_extra

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -457,11 +457,13 @@ def select_cta_button(ccolor, text):
457
  color_rgb=get_rgb(str(st.session_state.ccolor[x]))
458
  color_img=create_image(100,30,color_rgb)
459
  # color_img=add_text(color_img,"Call_To_Action text: "+str(st.session_state.text[x]))
460
- col1, col2, col3 = st.columns([1,1,1])
461
- with col3:
462
- # st.button('1')
463
- st.write('Call_To_Action text: {} '.format(str(st.session_state.text[x])))
464
  with col2:
 
 
 
 
 
465
  # st.button('2')
466
  st.image(color_img,caption='CTA Button Color', channels='BGR')
467
  with col1:
 
457
  color_rgb=get_rgb(str(st.session_state.ccolor[x]))
458
  color_img=create_image(100,30,color_rgb)
459
  # color_img=add_text(color_img,"Call_To_Action text: "+str(st.session_state.text[x]))
460
+ col1, col2, col3, col4 = st.columns([1,1,1,1])
 
 
 
461
  with col2:
462
+ # st.button('1')
463
+ st.write('Call_To_Action text: {}'.format(str(st.session_state.text[x])))
464
+ with col3:
465
+ st.write('Call_To_Action button Color:')
466
+ with col4:
467
  # st.button('2')
468
  st.image(color_img,caption='CTA Button Color', channels='BGR')
469
  with col1: