smjain commited on
Commit
f442f9e
1 Parent(s): c445b9f

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +1 -1
myinfer_latest.py CHANGED
@@ -36,7 +36,7 @@ os.environ["TEMP"] = tmp
36
  split_model="htdemucs"
37
 
38
  # Define the maximum number of concurrent requests
39
- MAX_CONCURRENT_REQUESTS = 1 # Adjust this number as needed
40
 
41
  # Initialize the semaphore with the maximum number of concurrent requests
42
  request_semaphore = Semaphore(MAX_CONCURRENT_REQUESTS)
 
36
  split_model="htdemucs"
37
 
38
  # Define the maximum number of concurrent requests
39
+ MAX_CONCURRENT_REQUESTS = 2 # Adjust this number as needed
40
 
41
  # Initialize the semaphore with the maximum number of concurrent requests
42
  request_semaphore = Semaphore(MAX_CONCURRENT_REQUESTS)