Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def predict(img):
|
|
35 |
|
36 |
title = "Cat Breed Classifier Demo 😸"
|
37 |
description = "Gradio Demo for Classifying Cat Breeds of these [12 different types](https://huggingface.co/spaces/Hexii/Cat-Breed-Classifier/blob/main/classes.txt)."
|
38 |
-
article = "
|
39 |
|
40 |
|
41 |
|
@@ -45,7 +45,7 @@ app = gr.Interface(
|
|
45 |
fn=predict,
|
46 |
inputs=gr.Image(type="pil"),
|
47 |
outputs=[
|
48 |
-
gr.Label(num_top_classes=
|
49 |
gr.Number(label="Prediction time (s)"),
|
50 |
],
|
51 |
examples=example_list,
|
|
|
35 |
|
36 |
title = "Cat Breed Classifier Demo 😸"
|
37 |
description = "Gradio Demo for Classifying Cat Breeds of these [12 different types](https://huggingface.co/spaces/Hexii/Cat-Breed-Classifier/blob/main/classes.txt)."
|
38 |
+
article = "<p style='text-align: center'><a href='https://github.com/Mr-Hexi' target='_blank'>GitHub</a></p> "
|
39 |
|
40 |
|
41 |
|
|
|
45 |
fn=predict,
|
46 |
inputs=gr.Image(type="pil"),
|
47 |
outputs=[
|
48 |
+
gr.Label(num_top_classes=3, label="Predictions"),
|
49 |
gr.Number(label="Prediction time (s)"),
|
50 |
],
|
51 |
examples=example_list,
|