Procházet zdrojové kódy

revert batch back to 10

Tuan Nguyen před 1 rokem
rodič
revize
c6f9eec113
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -98,7 +98,7 @@ def run_theta_rho_file(file_path):
         return
         return
 
 
     # Optimize batch size for smoother execution
     # Optimize batch size for smoother execution
-    batch_size = 1  # Smaller batches may smooth movement further
+    batch_size = 10  # Smaller batches may smooth movement further
     for i in range(0, len(coordinates), batch_size):
     for i in range(0, len(coordinates), batch_size):
         batch = coordinates[i:i + batch_size]
         batch = coordinates[i:i + batch_size]
         if i == 0:
         if i == 0: