Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ with gr.Blocks() as demo:
|
|
81 |
# Main interface: image input, analyze button, and prediction output.
|
82 |
with gr.Column():
|
83 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
84 |
-
|
85 |
-
|
86 |
output_label = gr.Label(label="Prediction Scores")
|
87 |
|
88 |
# When the "Analyze" button is clicked, use the selected model to classify the image.
|
|
|
81 |
# Main interface: image input, analyze button, and prediction output.
|
82 |
with gr.Column():
|
83 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
84 |
+
analyze_btn = gr.Button("Classify / Predict")
|
85 |
+
with gr.Row():
|
86 |
output_label = gr.Label(label="Prediction Scores")
|
87 |
|
88 |
# When the "Analyze" button is clicked, use the selected model to classify the image.
|