Spaces:
Sleeping
Sleeping
Commit
·
bcef6a3
1
Parent(s):
5741ff9
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,6 +49,11 @@ def classify(img):
|
|
| 49 |
# Return prediction with percentage
|
| 50 |
return f"{class_name} ({top_perc:.2f}%)"
|
| 51 |
|
| 52 |
-
iface = gr.Interface(classify,
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
# Return prediction with percentage
|
| 50 |
return f"{class_name} ({top_perc:.2f}%)"
|
| 51 |
|
| 52 |
+
iface = gr.Interface(classify,
|
| 53 |
+
"image",
|
| 54 |
+
"text",
|
| 55 |
+
theme="huggingface",
|
| 56 |
+
title="Digit Recognition",
|
| 57 |
+
description="Upload Image of any Airplane Automobile Bird Cat Deer Dog Frog Horse Ship Truck and the algorithm will detect it in real time! This is CNN trained on CIFAR10 Dataset",
|
| 58 |
+
article="<p style='text-align: center'>CIFAR10 Classification | Demo Model by Jugal</p>",live=True)
|
| 59 |
+
iface.launch(debug=True)
|