Docty commited on
Commit
c484b93
·
verified ·
1 Parent(s): 953cf44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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")