Spaces:
Paused
Paused
Update app_parallel.py
Browse files- 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=
|
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:
|