joeyanuff commited on
Commit
d68e1f4
1 Parent(s): 4c614bb

literary_style default string empty

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def transform_text(desc, openai_api_key, temperature, llm_chain, num_words,
95
  # if translate_to != TRANSLATE_TO_DEFAULT:
96
  # translate_to_str = "translated to " + translate_to + ", "
97
 
98
- literary_style_str = "as a poem, "
99
  if literary_style != LITERARY_STYLE_DEFAULT:
100
  if literary_style == "Poetry":
101
  literary_style_str = "as a poem, "
 
95
  # if translate_to != TRANSLATE_TO_DEFAULT:
96
  # translate_to_str = "translated to " + translate_to + ", "
97
 
98
+ literary_style_str = ""
99
  if literary_style != LITERARY_STYLE_DEFAULT:
100
  if literary_style == "Poetry":
101
  literary_style_str = "as a poem, "