Wootang01 commited on
Commit
4b83c68
1 Parent(s): f45f2ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  title = "Image Classifier"
5
- description = "This machine has vision. It can identify objects and concepts in an image. To test the machine, upload or drop an image, submit and read the results. The results comprise a list of words that the machine sees in the image. Besides a word, the length of the bar indicates the confidence with which the machine sees the word. The longer the bar, the more confident the machine is."
6
 
7
  pipe = pipeline(task="image-classification",
8
  model="microsoft/beit-base-patch16-224-pt22k-ft22k")
 
2
  from transformers import pipeline
3
 
4
  title = "Image Classifier"
5
+ description = "This machine has vision. It can see objects and concepts in an image. To test the machine, upload or drop an image, submit and read the results. The results comprise a list of words that the machine sees in the image. Beside a word, the length of the bar indicates the confidence with which the machine sees the word. The longer the bar, the more confident the machine is."
6
 
7
  pipe = pipeline(task="image-classification",
8
  model="microsoft/beit-base-patch16-224-pt22k-ft22k")