Update app.py
Browse files
app.py
CHANGED
|
@@ -39,8 +39,8 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 39 |
gr.Markdown("Upload an image of a soil or enter an image URL to classify it.")
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
-
image_input = gr.Image(type="pil", label="Upload Image")
|
| 43 |
-
url_input = gr.Textbox(label="Image URL (optional)", placeholder="Paste image URL here...")
|
| 44 |
label_output = gr.Label(num_top_classes=3, label="Predictions")
|
| 45 |
|
| 46 |
classify_btn = gr.Button("Submit", variant="primary")
|
|
|
|
| 39 |
gr.Markdown("Upload an image of a soil or enter an image URL to classify it.")
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
+
image_input = gr.Image(type="pil", label="Upload Soil Image")
|
| 43 |
+
url_input = gr.Textbox(label="Soil Image URL (optional)", placeholder="Paste image URL here...")
|
| 44 |
label_output = gr.Label(num_top_classes=3, label="Predictions")
|
| 45 |
|
| 46 |
classify_btn = gr.Button("Submit", variant="primary")
|