Spaces:
Sleeping
Sleeping
Update app.py
Browse filesimage folder for example
app.py
CHANGED
@@ -53,6 +53,10 @@ iface = gr.Interface(
|
|
53 |
inputs=gr.inputs.Image(shape=(224, 224)),
|
54 |
outputs=[gr.outputs.Textbox(label="Prediction"), gr.outputs.Label(label='confidences',num_top_classes=2)],
|
55 |
theme=gr.themes.Soft(),
|
|
|
|
|
|
|
|
|
56 |
title="Cat and Dog Image Classifier",
|
57 |
description="Upload an image of a cat or a dog, and the model will identify the type and breed.",
|
58 |
article="This model has been trained on the Oxford Pets dataset and might not recognize all types dog and cat breeds. For best results, use clear images of pets."
|
|
|
53 |
inputs=gr.inputs.Image(shape=(224, 224)),
|
54 |
outputs=[gr.outputs.Textbox(label="Prediction"), gr.outputs.Label(label='confidences',num_top_classes=2)],
|
55 |
theme=gr.themes.Soft(),
|
56 |
+
examples=["/images/cazou103_Generate_a_high-resolution_image_of_a_Beagle_showcasin_609a1bae-22ac-4158-9091-dbf3220b2765.PNG",
|
57 |
+
"/images/cazou103_Generate_a_high-resolution_image_of_a_Shiba_Inu_showca_998f6162-289f-450e-ab02-558c3a575f61.PNG",
|
58 |
+
"/images/cazou103_Generate_a_high-resolution_image_of_a_Siamese_cat_show_68b1d78f-c304-4164-9342-4a4b56d2c4c5.PNG"
|
59 |
+
],
|
60 |
title="Cat and Dog Image Classifier",
|
61 |
description="Upload an image of a cat or a dog, and the model will identify the type and breed.",
|
62 |
article="This model has been trained on the Oxford Pets dataset and might not recognize all types dog and cat breeds. For best results, use clear images of pets."
|