Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
title = "Image Classifier"
|
5 |
-
description = " To
|
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 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")
|