Omnibus commited on
Commit
2fd0282
1 Parent(s): 779984c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def format_prompt(message, history):
17
  return prompt
18
 
19
  def compress_history(history,temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
20
- formatted_prompt=f"{COMPRESS_HISTORY.format(history=history)"
21
  generate_kwargs = dict(
22
  temperature=temperature,
23
  max_new_tokens=max_new_tokens,
 
17
  return prompt
18
 
19
  def compress_history(history,temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0):
20
+ formatted_prompt=f"{COMPRESS_HISTORY.format(history=history)}"
21
  generate_kwargs = dict(
22
  temperature=temperature,
23
  max_new_tokens=max_new_tokens,