Manjushri commited on
Commit
485ecd0
1 Parent(s): c9fcdcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -12,6 +12,8 @@ def chat(Prompt):
12
  generated_ids = model.generate(input_ids, max_length=256, repetition_penalty = 2.5, top_k = 75)
13
  bot = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
14
  return bot
15
-
 
 
16
 
17
- gr.Interface(fn=chat, inputs='text', outputs='text').queue(max_queue=10).launch(max_threads=40, debug=True)
 
12
  generated_ids = model.generate(input_ids, max_length=256, repetition_penalty = 2.5, top_k = 75)
13
  bot = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
14
  return bot
15
+
16
+ title = 'Nerybus ChatBot'
17
+ article = 'This is an experimental model containing a parameter-wise 50/50 blend (weighted average) of the weights of NerysV2-2.7B and ErebusV1-2.7B Preliminary testing produces pretty coherent outputs, it appears to retain the NSFWness of Erebus but with a Nerys-esque twist in terms of prose.'
18
 
19
+ gr.Interface(fn=chat, inputs='text', outputs='text', title, article).queue(max_queue=10).launch(max_threads=40, debug=True)