crystal99 commited on
Commit
02c3bc7
1 Parent(s): b533356

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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() / 16), # adjust for your CPU
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() / 6), # adjust for your CPU
57
  stop=["<|endoftext|>"],
58
  )
59