Skip to content

Facing issue while calling it gradio.route_utils.FnIndexInferError: Could not infer function index for API name: run_deep_search #668

@artemis15

Description

@artemis15
await self.middleware_stack(scope, receive, send)

File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/routing.py", line 736, in app
await route.handle(scope, receive, send)
File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/routing.py", line 290, in handle
await self.app(scope, receive, send)
File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/routing.py", line 78, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/root/web-ui/.venv/lib/python3.11/site-packages/starlette/routing.py", line 75, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/root/web-ui/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 302, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/web-ui/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 213, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/web-ui/.venv/lib/python3.11/site-packages/gradio/routes.py", line 1119, in simple_predict_post
fn = route_utils.get_fn(
^^^^^^^^^^^^^^^^^^^
File "/root/web-ui/.venv/lib/python3.11/site-packages/gradio/route_utils.py", line 229, in get_fn
raise FnIndexInferError(
gradio.route_utils.FnIndexInferError: Could not infer function index for API name: run_deep_search

Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions