Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ generation_config = GenerationConfig(
|
|
53 |
seed=42,
|
54 |
reset=True, # reset history (cache)
|
55 |
stream=True, # streaming per word/token
|
56 |
-
threads=int(os.cpu_count() /
|
57 |
stop=["<|endoftext|>"],
|
58 |
)
|
59 |
|
|
|
53 |
seed=42,
|
54 |
reset=True, # reset history (cache)
|
55 |
stream=True, # streaming per word/token
|
56 |
+
threads=int(os.cpu_count() / 200), # adjust for your CPU
|
57 |
stop=["<|endoftext|>"],
|
58 |
)
|
59 |
|