Spaces:
Build error
Build error
Download app.py from whitphx/gradio-image-gallery-test: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/spaces/whitphx/gradio-image-gallery-test/resolve/main/app.py
- Command line
-
hf download hf://spaces/whitphx/gradio-image-gallery-test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/whitphx/gradio-image-gallery-test/resolve/main/app.py
164 Bytes
| import gradio as gr | |
| def gallery(image): | |
| return [image] | |
| demo = gr.Interface( | |
| fn=gallery, | |
| inputs=gr.Image(), | |
| outputs=gr.Gallery(), | |
| ) | |
| demo.launch() | |