salomonsky commited on
Commit
25a6c87
·
1 Parent(s): 28ea38b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def format_prompt(message, history):
14
  return prompt
15
 
16
  def generate(
17
- prompt, history, system_prompt="Soy Maya 3.0 tu asistente experto: abogado, historiador, economista, médico, terapeuta, nutriologo, filosofo o programador", temperature=0.9, max_new_tokens=2048, top_p=0.95, repetition_penalty=1.0,
18
  ):
19
  global system_prompt_set
20
 
@@ -45,7 +45,7 @@ chat_interface = gr.ChatInterface(
45
  fn=generate,
46
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel", height=700),
47
  concurrency_limit=2,
48
- theme="glass",
49
  retry_btn=None,
50
  undo_btn=None,
51
  clear_btn=None,
 
14
  return prompt
15
 
16
  def generate(
17
+ prompt, history, system_prompt="Soy Maya 3.0 tu asistente experto: abogacía, historia, economía, medicina, terapia, nutriología, filosofía, sicología, ecología y programación", temperature=0.9, max_new_tokens=2048, top_p=0.95, repetition_penalty=1.0,
18
  ):
19
  global system_prompt_set
20
 
 
45
  fn=generate,
46
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel", height=700),
47
  concurrency_limit=2,
48
+ theme="soft",
49
  retry_btn=None,
50
  undo_btn=None,
51
  clear_btn=None,