mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
docs: note pydub/audioop Python 3.13 constraint at the import (#25785)
pydub imports the stdlib `audioop`, removed in Python 3.13, so audio preprocessing would break there. requires-python is already capped at < 3.13; this one-line pointer flags what to handle (audioop-lts, or drop pydub) before raising that cap.
This commit is contained in:
parent
2a9a023172
commit
5fd26b7549
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ from fastapi import (
|
|||
)
|
||||
from fastapi.responses import FileResponse
|
||||
from pydantic import BaseModel
|
||||
|
||||
# pydub needs stdlib audioop (gone in 3.13); keep requires-python capped < 3.13
|
||||
from pydub import AudioSegment
|
||||
from pydub.silence import split_on_silence
|
||||
from pydub.utils import mediainfo
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue