|
切换模型:
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\route_utils.py", line 766, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\route_utils.py", line 782, in simple_response
await self.app(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\fastapi\routing.py", line 297, in app
raw_response = await run_endpoint_function(
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\fastapi\routing.py", line 210, in run_endpoint_function
return await dependant.call(**values)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\routes.py", line 1092, in component_server
return fn(body.data)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\components\file_explorer.py", line 181, in ls
full_subdir_path = self._safe_join(subdirectory)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\components\file_explorer.py", line 212, in _safe_join
x = safe_join(self.root_dir, combined_path)
File "G:\ProgramData\anaconda3\envs\MimicTalk39\lib\site-packages\gradio\utils.py", line 1486, in safe_join
raise InvalidPathError()
gradio.exceptions.InvalidPathError
<gradio.components.file_explorer.FileExplorer object at 0x000002727026E790>
|
|