Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,8 +159,8 @@ class GenerationConfig:
|
|
159 |
max_new_tokens: int = 512
|
160 |
seed: int = 42
|
161 |
reset: bool = False
|
162 |
-
stream: bool =
|
163 |
-
|
164 |
# stop: list[str] = field(default_factory=lambda: [stop_string])
|
165 |
|
166 |
|
|
|
159 |
max_new_tokens: int = 512
|
160 |
seed: int = 42
|
161 |
reset: bool = False
|
162 |
+
stream: bool = False
|
163 |
+
threads: int = cpu_count
|
164 |
# stop: list[str] = field(default_factory=lambda: [stop_string])
|
165 |
|
166 |
|