Spanicin commited on
Commit
cfd1f34
·
verified ·
1 Parent(s): 7818ba9

Update app_parallel.py

Browse files
Files changed (1) hide show
  1. app_parallel.py +1 -1
app_parallel.py CHANGED
@@ -31,7 +31,7 @@ import math
31
  # load_dotenv()
32
 
33
  # Initialize ProcessPoolExecutor for parallel processing
34
- executor = ThreadPoolExecutor(max_workers=3)
35
  torch.cuda.empty_cache()
36
 
37
  class AnimationConfig:
 
31
  # load_dotenv()
32
 
33
  # Initialize ProcessPoolExecutor for parallel processing
34
+ executor = ThreadPoolExecutor(max_workers=2)
35
  torch.cuda.empty_cache()
36
 
37
  class AnimationConfig: