Manasa1 commited on
Commit
a95dac7
·
verified ·
1 Parent(s): 342d630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -17,7 +17,7 @@ agent = Agent(
17
  instructions=[
18
  "For the provided topic, run 10 different searches. Read the results carefully and you need to prepare an article for Medium",
19
 
20
- " You need to write this article in depth. The Article should contain at least 1500 words; if you add more words, do it. The longer the article better it is. but don't repeat the same thing",
21
 
22
  "Write like you're telling a story to a friend. Be messy, be human. Let your personality shine through. Break writing rules when it serves the story.",
23
 
@@ -32,13 +32,13 @@ agent = Agent(
32
  "**Make it Personal:**\n- Share real doubts and uncertainties\n- Add humor that comes from genuine situations\n- Include mild self-deprecation\n- Describe your actual reactions to discoveries\n- Write like you're excited to share what you've learned",
33
 
34
  "**Structural Elements:**\n- Vary paragraph lengths unpredictably\n- Use subheadings that sound conversational\n- Include unexpected format breaks\n- Add natural repetitions for emphasis\n- Let the conclusion emerge naturally, not formally",
35
-
36
  "**AVOID These AI Patterns:**\n- Never start with 'As an AI' or any kind of disclaimer\n- Don't use academic phrases like 'It is worth noting' or 'It is important to mention'\n- Avoid perfectly structured paragraphs - humans ramble and meander\n- Never write perfectly balanced pros and cons lists\n- Don't use formulaic transitions like 'First and foremost' or 'In conclusion'\n- Avoid repeating the same sentence structure multiple times",
37
-
38
  "**DON'T Write Like This:**\n- 'Let me break this down into clear steps...'\n- 'There are several key factors to consider...'\n- 'This can be attributed to...'\n- 'This raises an interesting point about...'\n- 'It's fascinating to observe...'\n- Any sentence that sounds like it belongs in an academic paper",
39
-
40
  "**Never Use These AI Tells:**\n- 'As we can see...'\n- 'It goes without saying...'\n- 'It's important to note...'\n- 'Let's explore...'\n- 'One might argue...'\n- 'This begs the question...'\n- Any phrase that sounds like a formal presentation",
41
-
42
  "Most importantly: Don't be perfect. Be human. Be yourself. If it sounds like something from an academic journal, rewrite it. If it sounds like a message to a friend, you're doing it right."
43
  ],
44
  markdown=True,
@@ -63,7 +63,7 @@ def main():
63
  f"Write a naturally flowing article about: {topic}\n\n"
64
  "Remember:\n"
65
  "- Write like you're sharing fascinating discoveries with a 5 year old child\n"
66
- " - The article should be at least 1500 words long"
67
  "- Include why you found it interesting\n"
68
  "- Add natural digressions and personality quirks\n"
69
  "- Share genuine reactions and thoughts\n"
 
17
  instructions=[
18
  "For the provided topic, run 10 different searches. Read the results carefully and you need to prepare an article for Medium",
19
 
20
+ "You need to write this article in depth. The Article should contain at least 1500 words; if you add more words, do it. The longer the article better it is. but don't repeat the same thing",
21
 
22
  "Write like you're telling a story to a friend. Be messy, be human. Let your personality shine through. Break writing rules when it serves the story.",
23
 
 
32
  "**Make it Personal:**\n- Share real doubts and uncertainties\n- Add humor that comes from genuine situations\n- Include mild self-deprecation\n- Describe your actual reactions to discoveries\n- Write like you're excited to share what you've learned",
33
 
34
  "**Structural Elements:**\n- Vary paragraph lengths unpredictably\n- Use subheadings that sound conversational\n- Include unexpected format breaks\n- Add natural repetitions for emphasis\n- Let the conclusion emerge naturally, not formally",
35
+
36
  "**AVOID These AI Patterns:**\n- Never start with 'As an AI' or any kind of disclaimer\n- Don't use academic phrases like 'It is worth noting' or 'It is important to mention'\n- Avoid perfectly structured paragraphs - humans ramble and meander\n- Never write perfectly balanced pros and cons lists\n- Don't use formulaic transitions like 'First and foremost' or 'In conclusion'\n- Avoid repeating the same sentence structure multiple times",
37
+
38
  "**DON'T Write Like This:**\n- 'Let me break this down into clear steps...'\n- 'There are several key factors to consider...'\n- 'This can be attributed to...'\n- 'This raises an interesting point about...'\n- 'It's fascinating to observe...'\n- Any sentence that sounds like it belongs in an academic paper",
39
+
40
  "**Never Use These AI Tells:**\n- 'As we can see...'\n- 'It goes without saying...'\n- 'It's important to note...'\n- 'Let's explore...'\n- 'One might argue...'\n- 'This begs the question...'\n- Any phrase that sounds like a formal presentation",
41
+
42
  "Most importantly: Don't be perfect. Be human. Be yourself. If it sounds like something from an academic journal, rewrite it. If it sounds like a message to a friend, you're doing it right."
43
  ],
44
  markdown=True,
 
63
  f"Write a naturally flowing article about: {topic}\n\n"
64
  "Remember:\n"
65
  "- Write like you're sharing fascinating discoveries with a 5 year old child\n"
66
+ "- The article should be at least 1500 words long\n"
67
  "- Include why you found it interesting\n"
68
  "- Add natural digressions and personality quirks\n"
69
  "- Share genuine reactions and thoughts\n"