import gradio as gr | |
# Load the Military Aircraft Detection model for the demo | |
model = gr.load("models/Illia56/Illia56-Military-Aircraft-Detection") | |
# Set the title and description for the demo | |
title = "Military Aircraft Detection Demo" | |
description = "Explore the capabilities of the Military Aircraft Detection model powered by Vision Transformer (ViT). Upload an image to see real-time classification and detection of military aircraft." | |
# Launch the Gradio interface with the specified title and description | |
model.launch(title=title, description=description) | |