6b41708 651fcc0 6b41708 7d9dfb1 6b41708
1
2
3
4
5
6
7
8
import gradio as gr def process(image): image1d = image.flatten() return 44100, image1d iface = gr.Interface(fn=process, inputs="image", outputs="audio") iface.launch()