Spaces:
Sleeping
Sleeping
# [Need Help] Deploy The MindSearch Gradio to Hugging Face
#1
by
vansin
- opened
Space Link: https://huggingface.co./spaces/vansin/MS
Local is Fine
in Hugging Face Space is unexcepted!!!!
https://huggingface.co./spaces/vansin/MS
[notice] A new release of pip available: 22.3.1 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Requirement already satisfied: tenacity in /usr/local/lib/python3.10/site-packages (9.0.0)
[notice] A new release of pip available: 22.3.1 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
MindSearch is running on http://
* Running on local URL: http://0.0.0.0:7860, with SSR ⚡
To create a public link, set `share=True` in `launch()`.
ERROR: Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
| yield
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__
| async with anyio.create_task_group() as task_group:
| File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
| raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
| result = await app( # type: ignore[func-returns-value]
| File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
| return await self.app(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
| raise exc
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
| await self.app(scope, receive, _send)
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
| with collapse_excgroups():
| File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
| self.gen.throw(typ, value, traceback)
| File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
| raise exc
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 188, in __call__
| await response(scope, wrapped_receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 155, in __call__
| await send({"type": prefix + "http.response.body", "body": self.body})
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in _send
| await send(message)
| File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 500, in send
| output = self.conn.send(event=h11.Data(data=data))
| File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 512, in send
| data_list = self.send_with_data_passthrough(event)
| File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 545, in send_with_data_passthrough
| writer(event, data_list.append)
| File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 65, in __call__
| self.send_data(event.data, write)
| File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 91, in send_data
| raise LocalProtocolError("Too much data for declared Content-Length")
| h11._util.LocalProtocolError: Too much data for declared Content-Length
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
with collapse_excgroups():
File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 188, in __call__
await response(scope, wrapped_receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 155, in __call__
await send({"type": prefix + "http.response.body", "body": self.body})
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in _send
await send(message)
File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 500, in send
output = self.conn.send(event=h11.Data(data=data))
File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 512, in send
data_list = self.send_with_data_passthrough(event)
File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 545, in send_with_data_passthrough
writer(event, data_list.append)
File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 65, in __call__
self.send_data(event.data, write)
File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 91, in send_data
raise LocalProtocolError("Too much data for declared Content-Length")
h11._util.LocalProtocolError: Too much data for declared Content-Length
ERROR: Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 76, in collapse_excgroups
| yield
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 186, in __call__
| async with anyio.create_task_group() as task_group:
| File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
| raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
| result = await app( # type: ignore[func-returns-value]
| File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
| return await self.app(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
| raise exc
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
| await self.app(scope, receive, _send)
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
| with collapse_excgroups():
| File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
| self.gen.throw(typ, value, traceback)
| File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
| raise exc
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 188, in __call__
| await response(scope, wrapped_receive, send)
| File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 155, in __call__
| await send({"type": prefix + "http.response.body", "body": self.body})
| File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in _send
| await send(message)
| File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 500, in send
| output = self.conn.send(event=h11.Data(data=data))
| File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 512, in send
| data_list = self.send_with_data_passthrough(event)
| File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 545, in send_with_data_passthrough
| writer(event, data_list.append)
| File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 65, in __call__
| self.send_data(event.data, write)
| File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 91, in send_data
| raise LocalProtocolError("Too much data for declared Content-Length")
| h11._util.LocalProtocolError: Too much data for declared Content-Length
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 185, in __call__
with collapse_excgroups():
File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.10/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/base.py", line 188, in __call__
await response(scope, wrapped_receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/responses.py", line 155, in __call__
await send({"type": prefix + "http.response.body", "body": self.body})
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in _send
await send(message)
File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 500, in send
output = self.conn.send(event=h11.Data(data=data))
File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 512, in send
data_list = self.send_with_data_passthrough(event)
File "/usr/local/lib/python3.10/site-packages/h11/_connection.py", line 545, in send_with_data_passthrough
writer(event, data_list.append)
File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 65, in __call__
self.send_data(event.data, write)
File "/usr/local/lib/python3.10/site-packages/h11/_writers.py", line 91, in send_data
raise LocalProtocolError("Too much data for declared Content-Length")
h11._util.LocalProtocolError: Too much data for declared Content-Length