A GUI short-video 'clip' indexer in 60 lines.
pip install -r requirements.txt
streamlit run app.py
You can use a prompt to describe the scene you want to search for. The indexer will return several clips related to it.
The number of video clips you want to be returned.
Approximately from 0.44 to 0.6. The smaller the number, the longer the video clips(with lower precise).
The url of CLIP-as-service Server. The default value is a demo server loaded with ViT-L/14-336px provided by Jina.ai. You can also run your own CLIP-as-service server.