Traceback (most recent call last):
File "D:\miniconda\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\fastapi\applications.py", line 1054, in call
await super().call(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\middleware\errors.py", line 186, in call
raise exc
File "D:\miniconda\Lib\site-packages\starlette\middleware\errors.py", line 164, in call
await self.app(scope, receive, _send)
File "D:\miniconda\Lib\site-packages\gradio\route_utils.py", line 713, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\miniconda\Lib\site-packages\gradio\route_utils.py", line 729, in simple_response
await self.app(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\middleware\exceptions.py", line 65, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 64, in wrapped_app
raise exc
File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 756, in call
await self.middleware_stack(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 776, in app
await route.handle(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 297, in handle
await self.app(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 64, in wrapped_app
raise exc
File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 72, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\fastapi\routing.py", line 278, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\gradio\routes.py", line 795, in queue_join
return await queue_join_helper(body, request, username)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\gradio\routes.py", line 813, in queue_join_helper
success, event_id = await blocks._queue.push(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda\Lib\site-packages\gradio\queueing.py", line 225, in push
raise KeyError(
KeyError: 'Event not found in queue. If you are deploying this Gradio app with multiple replicas, please enable stickiness to ensure that all requests from the same user are routed to the same instance.'
Traceback (most recent call last): File "D:\miniconda\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in call return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\fastapi\applications.py", line 1054, in call await super().call(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\applications.py", line 123, in call await self.middleware_stack(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\middleware\errors.py", line 186, in call raise exc File "D:\miniconda\Lib\site-packages\starlette\middleware\errors.py", line 164, in call await self.app(scope, receive, _send) File "D:\miniconda\Lib\site-packages\gradio\route_utils.py", line 713, in call await self.simple_response(scope, receive, send, request_headers=headers) File "D:\miniconda\Lib\site-packages\gradio\route_utils.py", line 729, in simple_response await self.app(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\middleware\exceptions.py", line 65, in call await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 64, in wrapped_app raise exc File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 756, in call await self.middleware_stack(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 776, in app await route.handle(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 297, in handle await self.app(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 64, in wrapped_app raise exc File "D:\miniconda\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "D:\miniconda\Lib\site-packages\starlette\routing.py", line 72, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\fastapi\routing.py", line 278, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\gradio\routes.py", line 795, in queue_join return await queue_join_helper(body, request, username) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\gradio\routes.py", line 813, in queue_join_helper success, event_id = await blocks._queue.push( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\miniconda\Lib\site-packages\gradio\queueing.py", line 225, in push raise KeyError( KeyError: 'Event not found in queue. If you are deploying this Gradio app with multiple replicas, please enable stickiness to ensure that all requests from the same user are routed to the same instance.'