Spaces:
Runtime error
Runtime error
Commit
·
15ed2f3
1
Parent(s):
bf11f7d
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ with gr.Blocks(title="Leaf Detection and Classification", theme=gr.themes.Monoch
|
|
16 |
gr.Markdown("# Leaf Detection and Classification")
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
-
image = gr.Image(shape=(824,824), label="Input Image")
|
20 |
with gr.Column():
|
21 |
with gr.Row():
|
22 |
with gr.Column():
|
@@ -29,7 +29,7 @@ with gr.Blocks(title="Leaf Detection and Classification", theme=gr.themes.Monoch
|
|
29 |
|
30 |
with gr.Row():
|
31 |
with gr.Box():
|
32 |
-
v8_prediction = gr.Image(shape=(
|
33 |
|
34 |
btn.click(
|
35 |
get_predictions,
|
|
|
16 |
gr.Markdown("# Leaf Detection and Classification")
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
+
image = gr.Image(shape=(824, 824), label="Input Image")
|
20 |
with gr.Column():
|
21 |
with gr.Row():
|
22 |
with gr.Column():
|
|
|
29 |
|
30 |
with gr.Row():
|
31 |
with gr.Box():
|
32 |
+
v8_prediction = gr.Image(shape=(1024, 1024), label="YOLOv8") # Change the shape to make the output image larger
|
33 |
|
34 |
btn.click(
|
35 |
get_predictions,
|