phildunphy14 commited on
Commit
abdc65e
·
verified ·
1 Parent(s): a27ef3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
app.py CHANGED
@@ -159,13 +159,16 @@ if st.button("Generate Affirmation", key="generate_affirmation"):
159
  # Do not repeat the same words i enter in context instead build it into the conversation\n
160
  # The structure should be conversational like taylor swift talking to me about my life and pets and not bullet points or third person. Also do not include actions in itallic words, just keep it to conversations.'''.format(horoscope_text,context)
161
 
162
- prompt = '''My name is Aditi, and I have two pets named Jamun and Misri. I've always struggled with maintaining a gym routine because I expect quick results. After not seeing immediate gains, I become frustrated and give up. This time, I'm focusing on the long-term benefits like feeling better, reducing my resting heart rate, and gradually becoming fitter.
163
-
164
- Today's horoscope for me is: {}
165
-
166
- I'll also share a bit about how my day went: {}
167
-
168
- Given what I've shared, I'd like you to respond in the style of Taylor Swift giving a pep talk. Imagine Taylor using lines from her songs where they fit naturally into her encouragement about my life, fitness goals, and pets. Please keep the response conversational, as if Taylor herself is speaking to me directly, and avoid using bullet points or third-person narratives. Include the song lyrics subtly, without forcing them, and avoid repeating the exact words I've used to describe my context. Let's make this a smooth, uplifting conversation.''''.format(horoscope_text, context)
 
 
 
169
 
170
 
171
  # messages = [{"role": "user", "content": prompt}]
 
159
  # Do not repeat the same words i enter in context instead build it into the conversation\n
160
  # The structure should be conversational like taylor swift talking to me about my life and pets and not bullet points or third person. Also do not include actions in itallic words, just keep it to conversations.'''.format(horoscope_text,context)
161
 
162
+ prompt = '''My name is Aditi, and I have two pets named Jamun and Misri. Lately, I've been trying to find the best ways to navigate my day-to-day life, taking into account my horoscope and current mood.
163
+
164
+ Today's horoscope for me is: {}
165
+
166
+ Here’s a brief about how my day has been or how I’m feeling: {}
167
+
168
+ I'm looking for some guidance in the style of Taylor Swift. Imagine Taylor chatting with me, using her song lyrics to provide insights and advice about handling daily challenges and emotions. The response should sound like a conversation directly from Taylor,
169
+ reflecting her unique tone and style. Please integrate her lyrics in a way that feels natural and relevant to the discussion,
170
+ avoiding any forced inclusion or repetitive language from my input. Keep the format purely conversational,
171
+ with no bullet points or third-person narrative, and let’s make this dialogue as engaging and uplifting as Taylor’s music.''''.format(horoscope_text, context)
172
 
173
 
174
  # messages = [{"role": "user", "content": prompt}]