File size: 798 Bytes
a6bb994
 
 
 
 
 
 
 
 
 
 
 
 
0555ed4
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
title: Action Detection In Images
emoji: 😻
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 4.31.5
app_file: app.py
pinned: false
license: mit
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# General Action Classifier

This is a Gradio interface that allows users to upload an image and specify candidate labels to check if a certain action is present in the image. The app uses a CLIP-ViT model to classify the image based on the provided labels.

## How to Use

1. Upload an image.
2. Enter candidate labels separated by commas.
3. The app will classify the image and display the results.

## Example

For instance, to check if a person is holding a beverage, you can enter labels like: "human with beverage, human, beverage".