FredZhang7 commited on
Commit
a0a91a5
1 Parent(s): 648b6a9

remove None default assignment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ with gr.Blocks(title=title) as demo:
212
  history = history or []
213
  return "", history + [[message, None]]
214
 
215
- def respond(history=None, token_count, temperature, top_p, presence_penalty, count_penalty):
216
  instruction = history[-1][0]
217
  history[-1][1] = ""
218
 
 
212
  history = history or []
213
  return "", history + [[message, None]]
214
 
215
+ def respond(history, token_count, temperature, top_p, presence_penalty, count_penalty):
216
  instruction = history[-1][0]
217
  history[-1][1] = ""
218