Spaces:
Runtime error
Runtime error
correct argument name
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ class Pipeline:
|
|
43 |
self.name = name
|
44 |
self.prompt_fn = prompt_fn
|
45 |
self.generation_config = {
|
46 |
-
"
|
47 |
"top_k": 40,
|
48 |
"top_p": 0.95,
|
49 |
"temperature": 0.8,
|
|
|
43 |
self.name = name
|
44 |
self.prompt_fn = prompt_fn
|
45 |
self.generation_config = {
|
46 |
+
"max_new_tokens": 1024,
|
47 |
"top_k": 40,
|
48 |
"top_p": 0.95,
|
49 |
"temperature": 0.8,
|