Skip to content

Unable to generate pydantic-core schema for <class 'starlette.requests.Request'> #17

@Josanshuo

Description

@Josanshuo

Saw a fix by upgrading the pydantic to latest version: jhj0517/Whisper-WebUI#258

Simply changing the requirements.txt with pydantic==4.43.0 won't work, because gradio is locked in a low version 4.19.1 because of googletrans depending on httpx==0.14.1 which is not supported by newer version of gradio.

Wondering if there is a quick work around to resolve the issue without refactoring the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions