File size: 247 Bytes
0550b50
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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