Nick088 commited on
Commit
e21f915
·
verified ·
1 Parent(s): c709684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ def generate(
29
  top_k=top_k,
30
  repetition_penalty=repetition_penalty,
31
  do_sample=True,
32
- seed=seed,
33
  )
34
 
35
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
@@ -112,7 +112,7 @@ gr.ChatInterface(
112
  fn=generate,
113
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
114
  additional_inputs=additional_inputs,
115
- title="Mixtral 8x7b Instruct v0.1 Chatbot",
116
  description="Chatbot space with costumizable options for model: https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1\nIf you get an erorr, you putted a too much high Max_New_Tokens or your system prompt+prompt is too long, shorten up one of these",
117
  examples=examples,
118
  concurrency_limit=20,
 
29
  top_k=top_k,
30
  repetition_penalty=repetition_penalty,
31
  do_sample=True,
32
+ seed=42,
33
  )
34
 
35
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
 
112
  fn=generate,
113
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
114
  additional_inputs=additional_inputs,
115
+ title="Mixtral 8x7b Instruct v0.1",
116
  description="Chatbot space with costumizable options for model: https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1\nIf you get an erorr, you putted a too much high Max_New_Tokens or your system prompt+prompt is too long, shorten up one of these",
117
  examples=examples,
118
  concurrency_limit=20,