detection / fake_fault_detector
Sirivennela's picture
Rename fake_fault_detector.py to fake_fault_detector
513cb20 verified
raw
history blame contribute delete
436 Bytes
demo = gr.Interface(
fn=analyze_video,
inputs=gr.Video(label="Upload Drone Video"),
outputs=[
gr.Video(label="Annotated Video"),
gr.Gallery(label="Fault Screenshots").style(grid=3)
],
title="Solar Panel Fault Detection with Screenshots",
description="Uploads a drone video, detects faults, and captures screenshots only when a fault is detected."
)
if __name__ == "__main__":
demo.launch()