longvnhue1 commited on
Commit
b525648
·
verified ·
1 Parent(s): d1b7cde

Update app.py

Browse files
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(1)
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(2)
92
 
93
  app = FastAPI()
94