crystal99 commited on
Commit
547f961
1 Parent(s): 922849f

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() / 12), # 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() / 200), # adjust for your CPU
57
  stop=["<|endoftext|>"],
58
  )
59