pdf_translator icon indicating copy to clipboard operation
pdf_translator copied to clipboard

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

Open Josanshuo opened this issue 5 months ago • 3 comments

Saw a fix by upgrading the pydantic to latest version: https://github.com/jhj0517/Whisper-WebUI/issues/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?

Josanshuo avatar Sep 06 '24 14:09 Josanshuo