longvnhue1 commited on
Commit
d47c5f5
·
verified ·
1 Parent(s): afe3bd7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ import re
88
  import time
89
 
90
  # Giới hạn số luồng CPU nếu không dùng GPU
91
- torch.set_num_threads(2)
92
 
93
  app = FastAPI()
94
 
 
88
  import time
89
 
90
  # Giới hạn số luồng CPU nếu không dùng GPU
91
+ torch.set_num_threads(1)
92
 
93
  app = FastAPI()
94