cd14 commited on
Commit
1f0c8f0
·
1 Parent(s): 450e7b6

adding rayan prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -544,8 +544,8 @@ if st.session_state.get('button') == True:
544
  optimized_email, optimized_char_cnt, optimized_url_cnt = optimize_email_prompt_multi(email_body_opt, options)
545
  charc, tmval=get_optimized_prediction("sagemakermodelcc", "modelCC.sav", "sagemakermodelcc", target, industry,
546
  optimized_char_cnt, optimized_url_cnt, industry_code_dict)
547
- st.markdown('##### Current Character Count in Your Optimized Email is: {}'.format(charc), unsafe_allow_html=True)
548
- st.markdown('##### The model predicts that it achieves a {} of {}%'.format(target,tmval), unsafe_allow_html=True)
549
  st.markdown('##### Here is the recommended Generated Email for you:')
550
  with st.expander('', expanded=True):
551
  st.markdown('{}:'.format(optimized_email),unsafe_allow_html=True)
 
544
  optimized_email, optimized_char_cnt, optimized_url_cnt = optimize_email_prompt_multi(email_body_opt, options)
545
  charc, tmval=get_optimized_prediction("sagemakermodelcc", "modelCC.sav", "sagemakermodelcc", target, industry,
546
  optimized_char_cnt, optimized_url_cnt, industry_code_dict)
547
+ st.markdown('##### Current Character Count in Your Optimized Email is: <span style="color:yellow">{}</span>'.format(charc), unsafe_allow_html=True)
548
+ st.markdown('##### The model predicts that it achieves a <span style="color:yellow">{}</span> of <span style="color:yellow">{}</span>%'.format(target,tmval), unsafe_allow_html=True)
549
  st.markdown('##### Here is the recommended Generated Email for you:')
550
  with st.expander('', expanded=True):
551
  st.markdown('{}:'.format(optimized_email),unsafe_allow_html=True)