Spaces:
Runtime error
Runtime error
Farhan1572
commited on
Commit
•
b65b50d
1
Parent(s):
35244e7
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def humanize_text(AI_text):
|
|
16 |
model=finetuned_model,
|
17 |
messages=[
|
18 |
{"role": "system", "content": "You are a text humanizer. You humanize AI generated text. The text must appear like humanly written. the paragraphs must be big and should look like humanly written. AVOID PASSIVE VOICE. use small sentences and long paragraphs. No headings, only paragraph based text"},
|
19 |
-
{"role": "user", "content": f"Humanize the text: {AI_text}"}
|
20 |
]
|
21 |
)
|
22 |
|
|
|
16 |
model=finetuned_model,
|
17 |
messages=[
|
18 |
{"role": "system", "content": "You are a text humanizer. You humanize AI generated text. The text must appear like humanly written. the paragraphs must be big and should look like humanly written. AVOID PASSIVE VOICE. use small sentences and long paragraphs. No headings, only paragraph based text"},
|
19 |
+
{"role": "user", "content": f"Humanize the text. USE LONGER PARAGRAPHS. AVOID HEADINGS WHEREEVER POSSIBLE. USE ACTIVE VOICE. AVOID WORDS LIKE 'SUBSEQUENTLY', 'PARADIGM', and other words commonly used by the AI. \nTEXT: {AI_text}"}
|
20 |
]
|
21 |
)
|
22 |
|