Spaces:
Runtime error
Runtime error
adding rayan prompt
Browse files
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 {}
|
| 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)
|