pdf_translator
pdf_translator copied to clipboard
Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>
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?