NeverlandPeter commited on
Commit
5236d93
·
1 Parent(s): 6b7318a
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ def evaluate(
49
  alpha_presence = presencePenalty,
50
  token_ban = [], # ban the generation of some tokens
51
  token_stop = [0]) # stop generation whenever you see any token here
52
- ctx = generate_prompt(ctx)
 
53
  all_tokens = []
54
  out_last = 0
55
  out_str = ''
 
49
  alpha_presence = presencePenalty,
50
  token_ban = [], # ban the generation of some tokens
51
  token_stop = [0]) # stop generation whenever you see any token here
52
+ # ctx = generate_prompt(ctx)
53
+ ctx = ctx.strip()
54
  all_tokens = []
55
  out_last = 0
56
  out_str = ''