banao-tech commited on
Commit
34871a4
·
verified ·
1 Parent(s): d9307fe

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -50,7 +50,7 @@ logger.info("Finished loading models!")
50
  # Initialize FastAPI app
51
  app = FastAPI()
52
 
53
- MAX_QUEUE_SIZE = 10 # Set a reasonable limit based on your system capacity
54
  request_queue = asyncio.Queue(maxsize=MAX_QUEUE_SIZE)
55
 
56
  # Define response model
 
50
  # Initialize FastAPI app
51
  app = FastAPI()
52
 
53
+ MAX_QUEUE_SIZE = 20 # Set a reasonable limit based on your system capacity
54
  request_queue = asyncio.Queue(maxsize=MAX_QUEUE_SIZE)
55
 
56
  # Define response model