Soumik555 commited on
Commit
0052a68
·
1 Parent(s): 18e298f

max worker 4 --> 10

Browse files
Files changed (1) hide show
  1. controller.py +1 -1
controller.py CHANGED
@@ -583,7 +583,7 @@ max_cpus = os.cpu_count()
583
  print("Available CPUs:", max_cpus)
584
 
585
  # Use a process pool to run CPU-bound chart generation
586
- process_executor = ProcessPoolExecutor(max_workers=4)
587
 
588
  # --- GROQ-BASED CHART GENERATION ---
589
  # def groq_chart(csv_url: str, question: str):
 
583
  print("Available CPUs:", max_cpus)
584
 
585
  # Use a process pool to run CPU-bound chart generation
586
+ process_executor = ProcessPoolExecutor(max_workers=10)
587
 
588
  # --- GROQ-BASED CHART GENERATION ---
589
  # def groq_chart(csv_url: str, question: str):