kavinh07 commited on
Commit
defc3c5
·
1 Parent(s): 9e2f96e

Readme file updated

Browse files
Files changed (2) hide show
  1. README.md +5 -1
  2. app.py +5 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Ball Classifier
3
- emoji: 🏆
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
@@ -11,3 +11,7 @@ license: mit
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
1
  ---
2
  title: Ball Classifier
3
+ emoji:
4
  colorFrom: blue
5
  colorTo: gray
6
  sdk: gradio
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
14
+
15
+ Hugging Face spaces URL: https://huggingface.co/spaces/kavinh07/ball-classifier
16
+
17
+ Gradio URL: https://7648144449855d504f.gradio.live
app.py CHANGED
@@ -1,6 +1,11 @@
1
  import gradio as gr
2
  from fastai.vision.all import *
3
 
 
 
 
 
 
4
 
5
  model = load_learner('models/ball-classifier-v5.pkl')
6
 
 
1
  import gradio as gr
2
  from fastai.vision.all import *
3
 
4
+ ## Use this commented part to execute this file in windows ##
5
+ # import pathlib
6
+ # temp = pathlib.PosixPath
7
+ # pathlib.PosixPath = pathlib.WindowsPath
8
+
9
 
10
  model = load_learner('models/ball-classifier-v5.pkl')
11