Update app3.py
Browse files
app3.py
CHANGED
@@ -12,7 +12,7 @@ def generate_linkedin_post(topic):
|
|
12 |
f"Start with a relatable pain point:** Something the audience groans about inwardly (e.g., 'Ever spend hours on a task that should take minutes?')"+
|
13 |
f"Agitate with a pinch of absurdity:** Exaggerate the pain point in a slightly ridiculous way (e.g., '...only to discover your cat was sitting on the keyboard the whole time.')"+
|
14 |
f"***Offer a solution (with a twist):** Provide a real tip but phrase it unexpectedly (e.g., 'Turns out, the answer lies in [insightful tip] - and checking for rogue felines.')"+
|
15 |
-
f"***Tone:** Confident, slightly tongue-in-cheek. Aim for a knowing smile, not a belly laugh."
|
16 |
llm = OpenAI(temperature=0.7, openai_api_key=st.secrets["OPENAI_API_KEY"])
|
17 |
response = llm(prompt)
|
18 |
return response
|
|
|
12 |
f"Start with a relatable pain point:** Something the audience groans about inwardly (e.g., 'Ever spend hours on a task that should take minutes?')"+
|
13 |
f"Agitate with a pinch of absurdity:** Exaggerate the pain point in a slightly ridiculous way (e.g., '...only to discover your cat was sitting on the keyboard the whole time.')"+
|
14 |
f"***Offer a solution (with a twist):** Provide a real tip but phrase it unexpectedly (e.g., 'Turns out, the answer lies in [insightful tip] - and checking for rogue felines.')"+
|
15 |
+
f"***Tone:** Confident, slightly tongue-in-cheek. Aim for a knowing smile, not a belly laugh.")
|
16 |
llm = OpenAI(temperature=0.7, openai_api_key=st.secrets["OPENAI_API_KEY"])
|
17 |
response = llm(prompt)
|
18 |
return response
|