vpcom commited on
Commit
cef3e2b
·
1 Parent(s): ba8d9db

fix: empty list instead of None

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def generate(
162
  #seed=seed,
163
  )
164
  #seed = seed + 1
165
- history = None # explicitly set the history as none so no history is important anymore
166
  formatted_prompt = format_prompt(prompt, history, system_prompt)
167
 
168
  print(f"Formatted Prompt: {formatted_prompt}")
 
162
  #seed=seed,
163
  )
164
  #seed = seed + 1
165
+ history = [] # explicitly set the history as none so no history is important anymore
166
  formatted_prompt = format_prompt(prompt, history, system_prompt)
167
 
168
  print(f"Formatted Prompt: {formatted_prompt}")