k23064919 commited on
Commit
e1aec42
·
1 Parent(s): 76d360d

remove example_images

Browse files
Files changed (1) hide show
  1. ui/app.py +0 -23
ui/app.py CHANGED
@@ -200,29 +200,6 @@ def create_interface():
200
  outputs=flag_output
201
  )
202
 
203
- with gr.Tab("Example Images"):
204
- gr.Markdown("### Try these example plant images")
205
- gr.Markdown("Click on an example below to load it into the predictor")
206
-
207
- example_images = app.get_example_images()
208
-
209
- if example_images:
210
- examples = gr.Examples(
211
- examples=example_images,
212
- inputs=image_input,
213
- label="Example Plant Disease Images"
214
- )
215
- else:
216
- gr.Markdown(
217
- """
218
- **No example images found.**
219
-
220
- To add example images:
221
- 1. Create a folder: `ui/examples/`
222
- 2. Add plant leaf images (.jpg, .png) to this folder
223
- 3. Restart the app
224
- """
225
- )
226
 
227
  with gr.Tab("Batch Processing"):
228
  gr.Markdown("### Upload multiple images for batch processing")
 
200
  outputs=flag_output
201
  )
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
 
204
  with gr.Tab("Batch Processing"):
205
  gr.Markdown("### Upload multiple images for batch processing")