Spaces:
Build error
Build error
Download app.py from fs-bohn/PlaceholderImageTool: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/fs-bohn/PlaceholderImageTool/resolve/main/app.py
- Command line
-
hf download hf://spaces/fs-bohn/PlaceholderImageTool/app.py
-
curl -L -o app.py https://huggingface.co/spaces/fs-bohn/PlaceholderImageTool/resolve/main/app.py
266 Bytes
| import gradio as gr | |
| from placeholders import PlaceholderImageTool | |
| image_generator = PlaceholderImageTool() | |
| iface = gr.Interface( | |
| fn=image_generator, | |
| inputs=gr.Text(placeholder="camel", label="prompt"), | |
| outputs=gr.Image(shape=(64,64)) | |
| ) | |
| iface.launch() |