justynayang's picture
Update app.py
651fcc0
raw
history blame contribute delete
178 Bytes
import gradio as gr
def process(image):
image1d = image.flatten()
return 44100, image1d
iface = gr.Interface(fn=process, inputs="image", outputs="audio")
iface.launch()