Spaces:
Sleeping
Sleeping
literary_style default string empty
Browse files
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 = "
|
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, "
|