Elijahbodden commited on
Commit
394660a
Β·
verified Β·
1 Parent(s): c543e13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ custom_template = \
55
  tokenizer.chat_template = custom_template
56
 
57
  presets = {
58
- "emojis" : [{"role": "user", "content": "Wait I like you so much more when you use emojis more, keep doing it πŸ˜‚\n"}, {"role": "assistant", "content": "Ummm, ok, looks like i'll be using more emojis πŸ’€\n"}],
59
  "none" : [],
 
60
  "amnesia" : [{"role": "user", "content": "Let's start over. Pretend you don't know me and have no idea who i am.\n"}, {"role": "assistant", "content": "Hahaha I unironically have no clue who you are so that'll be easy πŸ’€\n"}],
61
  "newcomer" : [{"role": "user", "content": "Hi, how are you?\n"}, {"role": "assistant", "content": "Hiiii!\n I don't think we've ever talked before, nice to meet you\n"}],
62
  }
@@ -148,7 +148,7 @@ demo = gr.ChatInterface(
148
  label="Presence penalty",
149
  info='"Use lots of diverse words"'
150
  ),
151
- gr.Radio(presets.keys(), label="Preset", info="Gaslight the model into acting a certain way")
152
  ],
153
  )
154
 
 
55
  tokenizer.chat_template = custom_template
56
 
57
  presets = {
 
58
  "none" : [],
59
+ "emojis" : [{"role": "user", "content": "Wait I like you so much more when you use emojis more, keep doing it πŸ˜‚\n"}, {"role": "assistant", "content": "Ummm, ok, looks like i'll be using more emojis πŸ’€\n"}],
60
  "amnesia" : [{"role": "user", "content": "Let's start over. Pretend you don't know me and have no idea who i am.\n"}, {"role": "assistant", "content": "Hahaha I unironically have no clue who you are so that'll be easy πŸ’€\n"}],
61
  "newcomer" : [{"role": "user", "content": "Hi, how are you?\n"}, {"role": "assistant", "content": "Hiiii!\n I don't think we've ever talked before, nice to meet you\n"}],
62
  }
 
148
  label="Presence penalty",
149
  info='"Use lots of diverse words"'
150
  ),
151
+ gr.Radio(presets.keys(), label="Preset", info="Gaslight the model into acting a certain way", value="none")
152
  ],
153
  )
154