cd14 commited on
Commit
f2c6a3a
·
1 Parent(s): fc1b45e

adding gen ai support

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -505,7 +505,7 @@ if st.button('Generate Predictions'):
505
  prefrence_variables,
506
  index=1
507
  )
508
- if(preferences):
509
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
510
  st.markdown('##### Here is the recommended Generated Email for you:')
511
  st.markdown('####### {}:'.format(ai_generated_email),unsafe_allow_html=True)
 
505
  prefrence_variables,
506
  index=1
507
  )
508
+ if(preference):
509
  ai_generated_email=generate_example_email_with_context(email_body, campaign, industry, target, sorted_chars_out, preference)
510
  st.markdown('##### Here is the recommended Generated Email for you:')
511
  st.markdown('####### {}:'.format(ai_generated_email),unsafe_allow_html=True)