pseudoscorex-encoder / requirements.txt
Nanny7's picture
fix: bump gradio to 5.x to dodge jinja2 cache-key bug
47f1d09
raw
history blame contribute delete
473 Bytes
transformers==4.38.2
sentencepiece
torch>=2.0,<3.0
# Gradio 5.x — 4.44.0 has a Jinja2 incompatibility that breaks the
# UI render path on Spaces, so bumping is the cleanest fix.
gradio>=5.6,<6.0
# Pin numpy<2 because transformers 4.38.x doesn't support numpy 2.x.
numpy<2
protobuf
# Backport of the stdlib audioop module — needed only on Python 3.13+,
# where audioop was removed and Gradio's pydub dependency still imports it.
audioop-lts; python_version >= "3.13"