cd14 commited on
Commit
fb12786
1 Parent(s): 359c387

adding Genrative AI email genearion support

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -511,7 +511,7 @@ if st.button('Generate Predictions'):
511
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
512
  st.markdown('##### Here is the recommended Generated Email for you:')
513
  st.markdown('####### {}:'.format(ai_generated_email),unsafe_allow_html=True)
514
- preference= "charcter counts: "+str(573)+", Target Rate: "+str(37.2)
515
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
516
  print("ai_generated_email: ",ai_generated_email)
517
  st.markdown('##### Here is the recommended Generated Email for you:')
 
511
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
512
  st.markdown('##### Here is the recommended Generated Email for you:')
513
  st.markdown('####### {}:'.format(ai_generated_email),unsafe_allow_html=True)
514
+ preference= "character counts: "+str(573)+", Target Rate: "+str(37.2)
515
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
516
  print("ai_generated_email: ",ai_generated_email)
517
  st.markdown('##### Here is the recommended Generated Email for you:')
requirements.txt CHANGED
@@ -7,7 +7,7 @@ numpy
7
  pandas
8
  scikit-learn==0.24.1
9
  Cython==0.29.36
10
- bokeh==2.4.1
11
  joblib
12
  boto3
13
  urlextract
 
7
  pandas
8
  scikit-learn==0.24.1
9
  Cython==0.29.36
10
+ bokeh==2.4.3
11
  joblib
12
  boto3
13
  urlextract