Omnibus commited on
Commit
568458d
·
verified ·
1 Parent(s): a61d193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ def format_prompt(message, history):
18
 
19
  def chat_inf(system_prompt,prompt,history):
20
  if not history:
21
- history = []
 
22
  seed = random.randint(1,1111111111111111)
23
  generate_kwargs = dict(
24
  temperature=0.9,
 
18
 
19
  def chat_inf(system_prompt,prompt,history):
20
  if not history:
21
+ history = [("","")]
22
+
23
  seed = random.randint(1,1111111111111111)
24
  generate_kwargs = dict(
25
  temperature=0.9,