Spaces:
Sleeping
Sleeping
Updated prompts
Browse files- text_converter.py +5 -3
text_converter.py
CHANGED
@@ -8,14 +8,16 @@ def generate_user_prompt(prompt_type, base_text):
|
|
8 |
Convert this text to a higher reading level of the original text.
|
9 |
The higher reading level text should have more syllables per word and more words per sentence.
|
10 |
It should retain the core meaning of the original text.
|
11 |
-
|
|
|
12 |
{base_text}
|
13 |
""",
|
14 |
"too_complex": f"""
|
15 |
Convert this text to a simpler version of the original text.
|
16 |
-
The simpler
|
17 |
It should retain the core meaning of the original text.
|
18 |
-
|
|
|
19 |
{base_text}
|
20 |
"""
|
21 |
}
|
|
|
8 |
Convert this text to a higher reading level of the original text.
|
9 |
The higher reading level text should have more syllables per word and more words per sentence.
|
10 |
It should retain the core meaning of the original text.
|
11 |
+
The output text should also have a similar number of total words as the input text.
|
12 |
+
Here is the input text:
|
13 |
{base_text}
|
14 |
""",
|
15 |
"too_complex": f"""
|
16 |
Convert this text to a simpler version of the original text.
|
17 |
+
The simpler version should have simpler words, fewer syllables per word, and fewer words per sentence.
|
18 |
It should retain the core meaning of the original text.
|
19 |
+
The output text should also have a similar number of total words as the input text.
|
20 |
+
Here is the input text:
|
21 |
{base_text}
|
22 |
"""
|
23 |
}
|