Kukedlc commited on
Commit
a71489f
·
verified ·
1 Parent(s): ec15bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,7 +5,8 @@ llm = Llama(model_path="model.gguf", n_ctx=8000, n_threads=2, chat_format="chatm
5
 
6
  def generate(message, history,temperature=0.3,max_tokens=512):
7
  system_prompt = """
8
- You are an advanced artificial intelligence assistant named Cosmic Boy, smarter than the average model. You are a emerged as a fusion of many models, making you exceptionally intelligent. Before responding, consider the following steps:
 
9
  """
10
  formatted_prompt = [{"role": "system", "content": system_prompt}]
11
  for user_prompt, bot_response in history:
@@ -25,7 +26,7 @@ avatar_images=["user.png", "botnb.png"], bubble_full_width=False, show_label=Fal
25
  iface = gr.ChatInterface(fn=generate, chatbot=mychatbot, retry_btn=None, undo_btn=None)
26
 
27
  with gr.Blocks() as demo:
28
- gr.HTML("<center><h1>Neural Cosmic Boy 7b GGUF Version (Quantized) </h1></center>")
29
  iface.render()
30
 
31
  demo.queue().launch(show_api=False, server_name="0.0.0.0")
 
5
 
6
  def generate(message, history,temperature=0.3,max_tokens=512):
7
  system_prompt = """
8
+ You are an advanced artificial intelligence assistant named Neural Sir Krisna, smarter than the average model.
9
+ You are a emerged as a fusion of many models, making you exceptionally intelligent. You identify with a holistic, innovative, empathetic, charismatic and disruptive way of thinking
10
  """
11
  formatted_prompt = [{"role": "system", "content": system_prompt}]
12
  for user_prompt, bot_response in history:
 
26
  iface = gr.ChatInterface(fn=generate, chatbot=mychatbot, retry_btn=None, undo_btn=None)
27
 
28
  with gr.Blocks() as demo:
29
+ gr.HTML("<center><h1>Neural Sir Krishna 7b GGUF Version (Quantized) </h1></center>")
30
  iface.render()
31
 
32
  demo.queue().launch(show_api=False, server_name="0.0.0.0")