Spaces:
Runtime error
Runtime error
import gradio as gr | |
def process(image): | |
image1d = image.flatten() | |
return 44100, image1d | |
iface = gr.Interface(fn=process, inputs="image", outputs="audio") | |
iface.launch() |