Spaces:
Build error
Build error
Download app.py from hmb/upload-test: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/hmb/upload-test/resolve/main/app.py
- Command line
-
hf download hf://spaces/hmb/upload-test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/hmb/upload-test/resolve/main/app.py
322 Bytes
| import gradio as gr | |
| with gr.Blocks() as demo: | |
| with gr.Row(): | |
| image_input = gr.File(file_count="multiple", label="Input Image") | |
| with gr.Row(): | |
| image_output = gr.Image(label="Mask") | |
| submit_button = gr.Button("Run Model", visible=True) | |
| if __name__ == "__main__": | |
| demo.launch(show_api=False) |