prithivMLmods commited on
Commit
87e4e0c
·
verified ·
1 Parent(s): dd8553a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def format_prompt(message, history, system_prompt=None):
12
  prompt += f"[SYS] {system_prompt} [/SYS]"
13
  prompt += f"[INST] {message} [/INST]"
14
  return prompt
15
-
16
  def generate(
17
  prompt, history, system_prompt=None, temperature=0.2, max_new_tokens=1024, top_p=0.95, repetition_penalty=1.0,
18
  ):
 
12
  prompt += f"[SYS] {system_prompt} [/SYS]"
13
  prompt += f"[INST] {message} [/INST]"
14
  return prompt
15
+ #Generate
16
  def generate(
17
  prompt, history, system_prompt=None, temperature=0.2, max_new_tokens=1024, top_p=0.95, repetition_penalty=1.0,
18
  ):