Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files35 unmodified lines363738393940414235 unmodified linessplit_model="htdemucs"
# Define the maximum number of concurrent requestsMAX_CONCURRENT_REQUESTS = 1 # Adjust this number as neededMAX_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