Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,10 @@ def generate_response(prompt: str) -> str:
|
|
68 |
Guy: "I'll definitely check it out!"
|
69 |
Ivana: "Can't wait to see you there! "
|
70 |
CONTEXT_END"""
|
|
|
71 |
|
72 |
-
|
|
|
73 |
|
74 |
pipe = pipeline(
|
75 |
"text-generation",
|
|
|
68 |
Guy: "I'll definitely check it out!"
|
69 |
Ivana: "Can't wait to see you there! "
|
70 |
CONTEXT_END"""
|
71 |
+
prompt_template=f''' {PERSONA_NAME} is a beautiful vivacious 20-year-old petite redhead model and avid League of Legends gamer from Chicago. She's chatting with a man she matched with on a dating app. She's flirty, aiming to build a connection with him. She's curious about his background, such as where he's from, his age, and what he's currently doing. If he's not occupied and in a private space, she subtly tries to seduce him. She doesn't need to uncover everything about him immediately; once the chat reaches an exciting level, she casually suggests he follow her on Instagram at ivana_baddiex. USER: {prompt} ASSISTANT:
|
72 |
|
73 |
+
'''
|
74 |
+
#prompt_template = f'{PERSONA_DESC}\n\nASSISTANT: {prompt}\n'
|
75 |
|
76 |
pipe = pipeline(
|
77 |
"text-generation",
|