mbosse99 commited on
Commit
78a1e6e
·
1 Parent(s): 780c6a6

added lifestle blog as option

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -95,6 +95,8 @@ def create_article(length_option, articles, params, web_page_option):
95
  writing_style = os.environ.get("WRITING_STYLE_PR")
96
  elif web_page_option == "Sales":
97
  writing_style = os.environ.get("WRITING_STYLE_SALES")
 
 
98
 
99
  try:
100
  if len(articles) > 0:
@@ -432,6 +434,7 @@ st.radio(
432
  "Tech/Lifestyle Blog",
433
  "Public Relations",
434
  "Sales",
 
435
  ],
436
  key="webpage_option",
437
  )
 
95
  writing_style = os.environ.get("WRITING_STYLE_PR")
96
  elif web_page_option == "Sales":
97
  writing_style = os.environ.get("WRITING_STYLE_SALES")
98
+ elif web_page_option == "Lifestyle Blog":
99
+ writing_style = os.environ.get("WRITING_STYLE_LIFESTYLE")
100
 
101
  try:
102
  if len(articles) > 0:
 
434
  "Tech/Lifestyle Blog",
435
  "Public Relations",
436
  "Sales",
437
+ "Lifestyle Blog",
438
  ],
439
  key="webpage_option",
440
  )