Spaces:
Sleeping
Sleeping
Download app.py from NaveenKumar5/Robo_flow: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/NaveenKumar5/Robo_flow/resolve/main/app.py
- Command line
-
hf download hf://spaces/NaveenKumar5/Robo_flow/app.py
-
curl -L -o app.py https://huggingface.co/spaces/NaveenKumar5/Robo_flow/resolve/main/app.py
401 Bytes
| import gradio as gr | |
| from inference import predict | |
| iface = gr.Interface(fn=predict, | |
| inputs=gr.Image(type="pil"), | |
| outputs="image", | |
| title="Solar Panel Fault Detection", | |
| description="Upload a thermal image of a solar panel to detect faults using YOLOv5/Roboflow model.") | |
| if __name__ == "__main__": | |
| iface.launch() | |