3v324v23's picture
stuff
0550b50
raw
history blame
247 Bytes
import gradio as gr
import BeatManipulator as bm
def BeatSwap(pattern: str):
audio=bm.song()
audio.quick_beatswap(output=None, pattern=pattern)
return audio.audio
ui=gr.Interface (fn=BeatSwap,inputs="audio",outputs="audio" )
ui.launch