vpcom commited on
Commit
3c19d9d
·
1 Parent(s): ed650a4

fix: now passing the history in the what you can expect

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,7 +236,7 @@ chat_interface = gr.ChatInterface(
236
  def evolve_text(x):
237
 
238
  possible_generation = "".join([x for x in generate(
239
- x if len(x)>0 else ">", "", additional_inputs[0].value,
240
  temperature=additional_inputs[1].value,
241
  max_new_tokens=10,
242
  top_p=additional_inputs[3].value,
 
236
  def evolve_text(x):
237
 
238
  possible_generation = "".join([x for x in generate(
239
+ x if len(x)>0 else "@", HISTORY, additional_inputs[0].value,
240
  temperature=additional_inputs[1].value,
241
  max_new_tokens=10,
242
  top_p=additional_inputs[3].value,