Ferdinand Tom-Eshemogie commited on
Commit
80dddfa
·
1 Parent(s): c164bba

edited the path

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -25,10 +25,10 @@ def classify_image(img):
25
  # This part sets up the Gradio web interface, specifying the function to call for predictions,
26
  # the type of input it expects (an image), and the type of output (text).
27
 
28
- examples = ['/Users/drizzytom/Documents/aj_classifier/aj1.jpeg',
29
- '/Users/drizzytom/Documents/aj_classifier/aj4.jpeg',
30
- '/Users/drizzytom/Documents/aj_classifier/aj11.png',
31
- '/Users/drizzytom/Documents/aj_classifier/aj13.jpeg']
32
 
33
  iface = gr.Interface(fn=classify_image,
34
  inputs=gr.Image(type='pil'), # Specifies that the input should be an image, automatically converted to PILImage
 
25
  # This part sets up the Gradio web interface, specifying the function to call for predictions,
26
  # the type of input it expects (an image), and the type of output (text).
27
 
28
+ examples = ['aj1.jpeg',
29
+ 'aj4.jpeg',
30
+ 'aj11.png',
31
+ 'aj13.jpeg']
32
 
33
  iface = gr.Interface(fn=classify_image,
34
  inputs=gr.Image(type='pil'), # Specifies that the input should be an image, automatically converted to PILImage