Prudvireddy commited on
Commit
cc5a502
·
verified ·
1 Parent(s): da7dabc

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +7 -6
agents.py CHANGED
@@ -96,10 +96,11 @@ def image_prompt_agent(post):
96
  # # streaming=True,
97
  # )
98
 
99
- blog = llm.invoke("write descriptive prompt for used in LinkedIn post. "
100
- "Prompt is 'What you wish to see in the output image'. "
101
- "A descriptive prompt that clearly defines elements, colors, and subjects will lead to better results. "
102
- "For example: The sky was a crisp (blue:0.3) and (green:0.8) would convey a sky that was blue and green, but more green than blue. The weight applies to all words in the prompt. ",
103
- "Output only the prompt"
104
- f"**LinkedIn post**: {post}")
 
105
  return blog
 
96
  # # streaming=True,
97
  # )
98
 
99
+
100
+ blog = llm.invoke(f"""write descriptive prompt for used in LinkedIn post.
101
+ Prompt is 'What you wish to see in the output image'.
102
+ A descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.
103
+ For example: The sky was a crisp (blue:0.3) and (green:0.8) would convey a sky that was blue and green, but more green than blue. The weight applies to all words in the prompt. ,
104
+ Output only the prompt.
105
+ f**LinkedIn post**: {post}""")
106
  return blog