chatham84 commited on
Commit
1a322cc
1 Parent(s): f0d2ad5
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ def generate(
62
  if max_new_tokens > MAX_MAX_NEW_TOKENS:
63
  raise ValueError
64
 
65
- history = history_with_input[:-1]
 
66
  generator = run(message, history, system_prompt, max_new_tokens, temperature, top_p, top_k)
67
  try:
68
  first_response = next(generator)
 
62
  if max_new_tokens > MAX_MAX_NEW_TOKENS:
63
  raise ValueError
64
 
65
+ #history = history_with_input[:-1]
66
+ history = []
67
  generator = run(message, history, system_prompt, max_new_tokens, temperature, top_p, top_k)
68
  try:
69
  first_response = next(generator)