Download app.py from nick5363/Detect: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/nick5363/Detect/resolve/main/app.py
- Command line
-
hf download hf://spaces/nick5363/Detect/app.py
-
curl -L -o app.py https://huggingface.co/spaces/nick5363/Detect/resolve/main/app.py
318 Bytes
| import gradio as gr | |
| from PIL import Image | |
| def show_pattern(): | |
| return Image.open("IMG.webp") # thay bằng đúng tên file của bạn | |
| with gr.Blocks(css="body { background-color: black; }", title="Chart Patterns") as app: | |
| gr.Image(show_pattern, elem_id="pattern-image", show_label=False) | |
| app.launch() |