rotsl commited on
Commit
d2b8555
·
verified ·
1 Parent(s): 0c26baf

Accept uppercase image extensions (.JPG, .PNG, etc.)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -374,7 +374,7 @@ with gr.Blocks(title="Gray Leaf Spot Segmentation", css=CSS) as demo:
374
 
375
  with gr.Accordion("📂 Step 1 — Upload Images", open=True):
376
  upload = gr.File(label="Drag & drop petri dish images", file_count="multiple",
377
- file_types=[".jpg",".jpeg",".png",".tif",".tiff",".bmp",".webp"])
378
  up_st = gr.Markdown("")
379
 
380
  with gr.Accordion("⚙️ Step 2 — Settings", open=True):
 
374
 
375
  with gr.Accordion("📂 Step 1 — Upload Images", open=True):
376
  upload = gr.File(label="Drag & drop petri dish images", file_count="multiple",
377
+ file_types=["image"])
378
  up_st = gr.Markdown("")
379
 
380
  with gr.Accordion("⚙️ Step 2 — Settings", open=True):