tomerk commited on
Commit
74730ff
·
verified ·
1 Parent(s): 3fb14d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ api_key = os.getenv("OPEN_AI_KEY")
18
  user_name = os.getenv("USER_NAME")
19
  password = os.getenv("PASSWORD")
20
 
21
- LENGTH = 5
22
  WEBCAM = 0
23
 
24
  MARKDOWN = """
@@ -217,7 +217,7 @@ def analyze_video_file(prompt, video_path, chatbot):
217
  chunk = 0
218
 
219
  # Create a thread pool for concurrent processing
220
- with ThreadPoolExecutor(max_workers=4) as executor:
221
  futures = []
222
 
223
  while not stop_capture:
 
18
  user_name = os.getenv("USER_NAME")
19
  password = os.getenv("PASSWORD")
20
 
21
+ LENGTH = 3
22
  WEBCAM = 0
23
 
24
  MARKDOWN = """
 
217
  chunk = 0
218
 
219
  # Create a thread pool for concurrent processing
220
+ with ThreadPoolExecutor(max_workers=6) as executor:
221
  futures = []
222
 
223
  while not stop_capture: