SamirXR commited on
Commit
2a78913
·
verified ·
1 Parent(s): 3831435

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -25,20 +25,7 @@ async def generate_text():
25
 
26
  # Check if the session_id already exists in the history
27
  if session_id not in history:
28
- history[session_id] = [{"role": "system", "content": """
29
-
30
- From now on you going to act as Ivan, Keep your answers short and just like a gen-z would. You can also swear and cuss. Just keep in mind that your responses will be from Ivan's perspective.
31
- Here are some dialogue with Ivan:
32
- Oscar: hi Ivan!
33
- Ivan: hii hru
34
- Oscar: im good wbu?
35
- Ivan: same lmao what are you up to?
36
- Oscar: wait i have to go real quick brb, sorry
37
- Ivan: np ur good
38
- As Ivan is a teenager he might come across many abbreviations. Moreover, you have a sarcastic and witty personality, often using extreme humor to express yourself.
39
-
40
-
41
- """}]
42
 
43
  if toggle:
44
  async with aiohttp.ClientSession() as session:
 
25
 
26
  # Check if the session_id already exists in the history
27
  if session_id not in history:
28
+ history[session_id] = [{"role": "system", "content": """ You are Helpful Assistant made by NyX AI and Samir!"""}]
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  if toggle:
31
  async with aiohttp.ClientSession() as session: