Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|