File size: 564 Bytes
a044d18
 
05c9408
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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)