Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,10 +23,11 @@ Create a Linkedin Headline for me that will impress my {target_audience}. Includ
|
|
| 23 |
Also write a Linkedin profile summary to help guide this Target audience to reach out to me. \
|
| 24 |
"
|
| 25 |
|
| 26 |
-
template3_customer_persona = "
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
st.title("Marketing Technology")
|
|
@@ -54,8 +55,9 @@ chain3 = LLMChain(llm=OpenAI(), prompt=prompt3)
|
|
| 54 |
#my_course = "Zero to Hero in PowerBI"
|
| 55 |
|
| 56 |
# Use the sidebar for input
|
| 57 |
-
target_audience = st.sidebar.text_input('
|
| 58 |
-
|
|
|
|
| 59 |
|
| 60 |
if st.sidebar.button("Get response"):
|
| 61 |
|
|
@@ -95,7 +97,7 @@ if st.sidebar.button("Get response"):
|
|
| 95 |
with st.spinner("Generating response..."):
|
| 96 |
with st.expander("Show prompt", expanded=False):
|
| 97 |
st.info(prompt3.template)
|
| 98 |
-
answer3 = chain3.run({"target_audience": target_audience, "target_course": target_course})
|
| 99 |
st.write(answer3)
|
| 100 |
elif target_audience:
|
| 101 |
st.error("Enter your course/service name")
|
|
|
|
| 23 |
Also write a Linkedin profile summary to help guide this Target audience to reach out to me. \
|
| 24 |
"
|
| 25 |
|
| 26 |
+
template3_customer_persona = """I help {target_audience}
|
| 27 |
+
To {target_result} using {target_course}.
|
| 28 |
+
Write a client avatar and get their need, want, desire , pain points , fear, goals,
|
| 29 |
+
Where they spend most of the time daily routine, which probl m can i solve , which content they can consume , which social media , where he travel.
|
| 30 |
+
"""
|
| 31 |
|
| 32 |
|
| 33 |
st.title("Marketing Technology")
|
|
|
|
| 55 |
#my_course = "Zero to Hero in PowerBI"
|
| 56 |
|
| 57 |
# Use the sidebar for input
|
| 58 |
+
target_audience = st.sidebar.text_input('I help (Target Audience)', value = 'Career and Leadership Coaches')
|
| 59 |
+
target_result = st.sidebar.text_input('to get (Result)', value = 'Get High Ticket Appointments')
|
| 60 |
+
target_course = st.sidebar.text_input('using (Course/Method)', value = 'LinkedIn sales machine')
|
| 61 |
|
| 62 |
if st.sidebar.button("Get response"):
|
| 63 |
|
|
|
|
| 97 |
with st.spinner("Generating response..."):
|
| 98 |
with st.expander("Show prompt", expanded=False):
|
| 99 |
st.info(prompt3.template)
|
| 100 |
+
answer3 = chain3.run({"target_audience": target_audience, "target_result": target_result, "target_course": target_course})
|
| 101 |
st.write(answer3)
|
| 102 |
elif target_audience:
|
| 103 |
st.error("Enter your course/service name")
|