Kukedlc commited on
Commit
c619c25
1 Parent(s): c4dc00f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ print("Model server is ready!")
30
 
31
  def response(message, history):
32
  url = "http://localhost:2600/v1/completions"
33
- body = {"prompt": "[INST]"+message+"[/INST]", "max_tokens": 1024, "echo": False, "stream": False}
34
  response_text = ""
35
 
36
  try:
@@ -68,7 +68,7 @@ def cleanup_server():
68
  # Configurar y lanzar la interfaz de Gradio
69
  gr_interface = gr.ChatInterface(
70
  fn=response,
71
- title="NeuralBeagle 14 7b - By Maxime Labonne :) ❤️",
72
  theme='syddharth/gray-minimal'
73
  )
74
 
 
30
 
31
  def response(message, history):
32
  url = "http://localhost:2600/v1/completions"
33
+ body = {"prompt": "[INST]"+message+"[/INST]", "max_tokens": 300, "echo": False, "stream": False}
34
  response_text = ""
35
 
36
  try:
 
68
  # Configurar y lanzar la interfaz de Gradio
69
  gr_interface = gr.ChatInterface(
70
  fn=response,
71
+ title="NeuralBeagle 14-7b - By Maxime Labonne ❤️",
72
  theme='syddharth/gray-minimal'
73
  )
74