Spaces:
Sleeping
Sleeping
FINAL PUSH: Locked environment (Python 3.11) and stable dependencies.
Browse files
app.py
CHANGED
|
@@ -17,7 +17,8 @@ def predict(img):
|
|
| 17 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 18 |
|
| 19 |
title = "Sports Classifier"
|
| 20 |
-
description = "A
|
|
|
|
| 21 |
examples = ["badminton.jpg", "cricket.jpg", "swimming.jpg"]
|
| 22 |
|
| 23 |
demo = gr.Interface(
|
|
|
|
| 17 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 18 |
|
| 19 |
title = "Sports Classifier"
|
| 20 |
+
description = "A sports classifier trained on the images from Google. Created as a demo for Gradio and HuggingFace Spaces."
|
| 21 |
+
article="<p style='text-align: center'><a href='www.linkedin.com/in/shivamkswarnkar' target='_blank'>Linkedin Profile</a></p>"
|
| 22 |
examples = ["badminton.jpg", "cricket.jpg", "swimming.jpg"]
|
| 23 |
|
| 24 |
demo = gr.Interface(
|