Spaces:
Runtime error
Runtime error
Download app.py from justynayang/Process_Image_to_Audio: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/spaces/justynayang/Process_Image_to_Audio/resolve/main/app.py
- Command line
-
hf download hf://spaces/justynayang/Process_Image_to_Audio/app.py
-
curl -L -o app.py https://huggingface.co/spaces/justynayang/Process_Image_to_Audio/resolve/main/app.py
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() |