Spaces:
Runtime error
Runtime error
bug fixing for df_recom_extra
Browse files
app.py
CHANGED
@@ -454,7 +454,7 @@ def select_cta_button(ccolor, text):
|
|
454 |
#st.write(st.session_state)
|
455 |
buttons_out=[]
|
456 |
for x in np.arange(len(st.session_state.ccolor)):
|
457 |
-
color_rgb=get_rgb(
|
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 |
st.image(color_img, channels='BGR')
|
|
|
454 |
#st.write(st.session_state)
|
455 |
buttons_out=[]
|
456 |
for x in np.arange(len(st.session_state.ccolor)):
|
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 |
st.image(color_img, channels='BGR')
|