babysor / babysor/MockingBird

librosa.load无法读取filestorage音频对象

Open
#138 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

我在web调用时提示File contains data in an unknown format.
发现__init__py中使用librosa读取音频文件使用librosa.load(request.files['file'])
我并没有找到librosa能直接读取filestorage对象的资料
最后通过接收文件本地保存来处理这个问题

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in __init__.py at the librosa.load(request.files['file']) call and inspect how the web upload is passed into the audio loader. Reproduce the unknown-format error with a FileStorage upload, then verify that supported uploads are read successfully without relying on the reported local-save workaround; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.