Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated description
app.py
CHANGED
@@ -17,8 +17,17 @@ def predict(img):
|
|
17 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
18 |
|
19 |
title = "Pet Breed Classifier"
|
20 |
-
description = "
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
examples = ['siamese.jpg','pug.jpg']
|
23 |
|
24 |
gr.Interface(fn=predict,
|
|
|
17 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
18 |
|
19 |
title = "Pet Breed Classifier"
|
20 |
+
description = """
|
21 |
+
🐶🐱
|
22 |
+
🇬🇧 = A pet breed classifier (Dogs and Cats) trained on the Oxford Pets dataset using fastai. Created as a demo from the course by Jeremy Howard.
|
23 |
+
For best results use photos not drawings or anything else.
|
24 |
+
🇪🇸 = Un clasificador de razas de mascotas (perros y gatos) entrenado en los datos de Oxford Pets.
|
25 |
+
Usa fotos de tus mascotas para obtener la raza.
|
26 |
+
|
27 |
+
👨👨👧👦 MZDJ ❤️
|
28 |
+
"""
|
29 |
+
|
30 |
+
article="<p style='text-align: center'><a href='https://course.fast.ai/' target='_blank'>Go to course!</a></p>"
|
31 |
examples = ['siamese.jpg','pug.jpg']
|
32 |
|
33 |
gr.Interface(fn=predict,
|