Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files35 unmodified lines3637383940414235 unmodified linessplit_model="htdemucs"# Define the maximum number of concurrent requestsMAX_CONCURRENT_REQUESTS = 1 # Adjust this number as needed# Initialize the semaphore with the maximum number of concurrent requestsrequest_semaphore = Semaphore(MAX_CONCURRENT_REQUESTS)35 unmodified lines3637383940414235 unmodified linessplit_model="htdemucs"# Define the maximum number of concurrent requestsMAX_CONCURRENT_REQUESTS = 2 # Adjust this number as needed# Initialize the semaphore with the maximum number of concurrent requestsrequest_semaphore = Semaphore(MAX_CONCURRENT_REQUESTS)
myinfer_latest.py+1-1