sks01dev commited on
Commit
49e4e5c
Β·
1 Parent(s): bc8d6ff

πŸš€ Auto-deploy: added latest model & app

Browse files
Files changed (2) hide show
  1. README.md +10 -9
  2. requirements.txt +3 -6
README.md CHANGED
@@ -1,14 +1,15 @@
 
1
  ---
2
  title: Sports Classifier
3
- emoji: πŸ¦€
4
- colorFrom: green
5
- colorTo: blue
6
  sdk: gradio
7
- sdk_version: 5.49.1
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- short_description: Which sport is this?
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
1
+
2
  ---
3
  title: Sports Classifier
4
+ emoji: πŸ€
5
+ colorFrom: blue
6
+ colorTo: indigo
7
  sdk: gradio
8
+ python_version: 3.11 # <--- THIS IS THE CRITICAL FIX for TypeError
 
 
 
 
9
  ---
10
 
11
+ # Sports Classifier
12
+
13
+ A sports classifier trained on the images from Google using FastAI.
14
+
15
+ Deployed via Kaggle Notebooks.
requirements.txt CHANGED
@@ -1,16 +1,13 @@
1
 
2
- # Locked FastAI version to avoid TypeError (2.7.x series is stable)
3
  fastai==2.7.12
4
- # Locking PyTorch/Torchvision to versions compatible with FastAI 2.7.x
5
  torch<2.2
6
  torchvision<0.16
7
 
8
- # CRITICAL FIX: Lock NumPy to a 1.x version to avoid "Failed to initialize NumPy" and related conflicts.
9
  numpy<2.0
10
 
11
  gradio
12
  cloudpickle
13
- ddgs
14
- primp
15
- fasttransform
16
  scikit-image
 
1
 
2
+ # Locked FastAI version (Stable)
3
  fastai==2.7.12
4
+ # Locked PyTorch version (Stable)
5
  torch<2.2
6
  torchvision<0.16
7
 
8
+ # CRITICAL FIX: Lock NumPy to a 1.x version to avoid internal conflicts.
9
  numpy<2.0
10
 
11
  gradio
12
  cloudpickle
 
 
 
13
  scikit-image