icashwave commited on
Commit
750394b
1 Parent(s): f85310d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -98,7 +98,9 @@ def evaluate(
98
  alpha_presence = presencePenalty,
99
  token_ban = [], # ban the generation of some tokens
100
  token_stop = [0]) # stop generation whenever you see any token here
101
- ctx = ctx.strip()
 
 
102
  all_tokens = []
103
  out_last = 0
104
  out_str = ''
 
98
  alpha_presence = presencePenalty,
99
  token_ban = [], # ban the generation of some tokens
100
  token_stop = [0]) # stop generation whenever you see any token here
101
+ #ctx = ctx.strip()
102
+ ctx = generate_prompt(instruction, input)
103
+
104
  all_tokens = []
105
  out_last = 0
106
  out_str = ''