Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = ''
|