jaymojnidar commited on
Commit
e1617a9
1 Parent(s): 6eda6a3

Update README.md

Browse files
Files changed (2) hide show
  1. README.md +12 -2
  2. app.py +1 -1
README.md CHANGED
@@ -1,2 +1,12 @@
1
- # fast_cassifiers
2
- Demoing a classifier to predict an uploaded image is a car or a fish or a dog or a cat or even a tree, just in case when dementia hits me, if I forget to identify them. Help yourself if you would like.
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: {{title}}
3
+ emoji: {{emoji}}
4
+ colorFrom: {{colorFrom}}
5
+ colorTo: {{colorTo}}
6
+ sdk: {{sdk}}
7
+ sdk_version: {{sdkVersion}}
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -10,7 +10,7 @@ def predict(img):
10
  pred,pred_idx,probs = learn.predict(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
- title = "Demo Bias"
14
  description = "An app to demonstrate incorporating bias into AI. Created as a demo for Gradio and HuggingFace Spaces."
15
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
16
  examples = ['cat.jpg']
 
10
  pred,pred_idx,probs = learn.predict(img)
11
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
12
 
13
+ title="Demo Bias"
14
  description = "An app to demonstrate incorporating bias into AI. Created as a demo for Gradio and HuggingFace Spaces."
15
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
16
  examples = ['cat.jpg']