Illia56 commited on
Commit
05c9408
1 Parent(s): 8aa30eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
1
  import gradio as gr
2
 
3
- gr.load("models/Illia56/Illia56-Military-Aircraft-Detection",examples=["1.jpg", "2.jpg", "3.jpg", "4.jpg"]).launch()
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ # Load the Military Aircraft Detection model for the demo
4
+ model = gr.load("models/Illia56/Illia56-Military-Aircraft-Detection")
5
+
6
+ # Set the title and description for the demo
7
+ title = "Military Aircraft Detection Demo"
8
+ 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."
9
+
10
+ # Launch the Gradio interface with the specified title and description
11
+ model.launch(title=title, description=description)