chatham84 commited on
Commit
7b3fb2e
1 Parent(s): f0d2ad5

Update app.py

Browse files
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)