Spaces:
Runtime error
Runtime error
Ferdinand Tom-Eshemogie
commited on
Commit
·
80dddfa
1
Parent(s):
c164bba
edited the path
Browse files
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 = ['
|
29 |
-
'
|
30 |
-
'
|
31 |
-
'
|
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
|