Spaces:
Build error
Build error
Download MusicModel/music.py from SLAYEROFALL3050/AudioGenerator: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/SLAYEROFALL3050/AudioGenerator/resolve/main/MusicModel/music.py
- Command line
-
hf download hf://spaces/SLAYEROFALL3050/AudioGenerator/MusicModel/music.py
-
curl -L -o music.py https://huggingface.co/spaces/SLAYEROFALL3050/AudioGenerator/resolve/main/MusicModel/music.py
281 Bytes
| # https://github.com/marcoppasini/musika | |
| # IMPORTS | |
| from pypianoroll import Multitrack | |
| import streamlit as st | |
| # DOWNLOADS | |
| # MODEL | |
| # FINAL FUNCTION | |
| # Spits out audio file | |
| def gen_audio(): | |
| to_ret = "" | |
| for i in range(5): | |
| to_ret = to_ret + str(i) | |
| return to_ret |