FOLZi commited on
Commit
fee88c1
·
verified ·
1 Parent(s): ae0d6a5

added history list

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -63,6 +63,7 @@ ct_end_token = "<|endoftext|>"
63
 
64
  @spaces.GPU()
65
  def generate(message, history):
 
66
  history_transformer_format = history + [[message, ""]]
67
  stop = StopOnTokens()
68
  # Implementasi Prompt Engineering
 
63
 
64
  @spaces.GPU()
65
  def generate(message, history):
66
+ history = []
67
  history_transformer_format = history + [[message, ""]]
68
  stop = StopOnTokens()
69
  # Implementasi Prompt Engineering