Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,9 @@ def chat(Prompt):
|
|
11 |
generated_ids = model.generate(input_ids, repetition_penalty = 2.5, top_k = 75, max_length=256)
|
12 |
bot = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
|
13 |
return bot
|
14 |
-
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
11 |
generated_ids = model.generate(input_ids, repetition_penalty = 2.5, top_k = 75, max_length=256)
|
12 |
bot = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
|
13 |
return bot
|
|
|
14 |
|
15 |
+
title = 'Erebus ChatBot'
|
16 |
+
description = 'This is the second generation of the original Shinen made by Mr. Seeker. The full dataset consists of 6 different sources, all surrounding the "Adult" theme. The name "Erebus" comes from the greek mythology, also named "darkness". This is in line with Shin'en, or "deep abyss". For inquiries, please contact the KoboldAI community. <br><br><b/>Warning: THIS model is NOT suitable for use by minors. The model will output X-rated content.'
|
17 |
+
article = ''
|
18 |
+
|
19 |
+
gr.Interface(fn=chat, inputs='text', outputs='text', title=title, description=description, article=article).launch(debug=True)
|