Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def predict(image):
|
|
| 7 |
predictions = classifier(image)
|
| 8 |
return {prediction['label']: prediction['score'] for prediction in predictions}
|
| 9 |
|
| 10 |
-
title = "Image
|
| 11 |
description = "A demo that recognizes and classifies images using the model from Hugging Face's 'google/vit-base-patch16-224'."
|
| 12 |
input_component = gr.Image(type="filepath", label="Upload an image here")
|
| 13 |
output_component = gr.Label(num_top_classes=3)
|
|
|
|
| 7 |
predictions = classifier(image)
|
| 8 |
return {prediction['label']: prediction['score'] for prediction in predictions}
|
| 9 |
|
| 10 |
+
title = "Image Rocognition"
|
| 11 |
description = "A demo that recognizes and classifies images using the model from Hugging Face's 'google/vit-base-patch16-224'."
|
| 12 |
input_component = gr.Image(type="filepath", label="Upload an image here")
|
| 13 |
output_component = gr.Label(num_top_classes=3)
|