Hexii commited on
Commit
f411139
•
1 Parent(s): 3b531e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "</br><p style='text-align: center'><a href='https://github.com/Mr-Hexi' target='_blank'>GitHub</a></p> "
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=5, label="Predictions"),
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,