Spaces:
Sleeping
Sleeping
remotewith
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,9 @@ title = "Base Bat Ball"
|
|
59 |
description = "An EfficientNetB2 feature extractor computer vision model to classify images as baseball , cricket and football."
|
60 |
|
61 |
# Create examples list from "examples/" directory
|
62 |
-
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
|
|
|
63 |
|
64 |
# Create the Gradio demo
|
65 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|
|
|
59 |
description = "An EfficientNetB2 feature extractor computer vision model to classify images as baseball , cricket and football."
|
60 |
|
61 |
# Create examples list from "examples/" directory
|
62 |
+
#example_list = [["examples/" + example] for example in os.listdir("examples")]
|
63 |
+
example_list = ["football_image.jpg","cricket_image.jpg","baseball_image.jpg"]
|
64 |
+
|
65 |
|
66 |
# Create the Gradio demo
|
67 |
demo = gr.Interface(fn=predict, # mapping function from input to output
|