Spaces:
Sleeping
Sleeping
Update app.py
Browse files54 unmodified lines5556575859606162636465661 unmodified line68697065666768717273747576777854 unmodified lines return confidences
description_text = ( "Lightweight CNN for Fire Detection with Integrated Hybrid Attention: A Depthwise-Driven Approach for Embedded Systems\n" "Authors: Sakif Azwad, Mohammed Shahin Shah, Md Shakib\n" "Supervised by: Md. Khaliluzzaman")
# --- Create the Gradio Interface ---print("[INFO] Creating Gradio interface...")iface = gr.Interface(1 unmodified line inputs=gr.Image(type="pil", label="Upload an Image"), outputs=gr.Label(num_top_classes=2, label="Prediction Results"), title="🔥 Fire Detection AI 🔥", description="Lightweight CNN for Fire Detection with Integrated Hybrid Attention: A Depthwise-Driven Approach for Embedded Systems\nAuthors : Sakif Azwad, Mohammed Shahin Shah, Md Shakib\nSupervised by Md. Khaliluzzaman", examples=[ ["example_fire.jpg"], ["example_nofire.jpg"] description=description_text, examples=[ ["examples/example_fire.jpg"], ["examples/example_nofire.jpg"] ], ], cache_examples=False)app.py+11-4