from huggingface_hub import hf_hub_download
from shutil import unpack_archive
from mt3_audio2midi import MT3
import nest_asyncio
nest_asyncio.apply()
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","mt3.zip"),"mt3_model",format="zip")
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","ismir2021.zip"),"ismir2021_model",format="zip")
mt3_model = MT3("mt3_model")
ismir2021_model = MT3("ismir2021_model","ismir2021")
mt3_model.predict(audio_path)
ismir2021_model.predict(audio_path)
Metadata
Release files for mt3-audio2midi 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mt3_audio2midi-0.2.0.tar.gz | 2.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mt3_audio2midi-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 4.8 MB
Release files / mt3_audio2midi-0.2.0.tar.gz
| Download URL | mt3_audio2midi-0.2.0.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c83091274c8ddb1ddc69a176d3f10ae12d106c67b631841d86fa7c8b23d79f5
|
|
BLAKE2b-256 checksum How to use checksums |
2f431df77c96ccdcdc0dbf26d0110bd75ee98fb011d55d572999a72a75adabce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.17
|
Release files / mt3_audio2midi-0.2.0-py2.py3-none-any.whl
| Download URL | mt3_audio2midi-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
482303ab3cdc6fd6a7cde6d9e7da5cb2d42b5c4f6f7f704903e4ec538a87109c
|
|
BLAKE2b-256 checksum How to use checksums |
92f4232dd2c2f3b20b4ed3e5e6df6e08a61cc3777223f27a5663fbc3c3aa16ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.17
|