Skip to main content

CLIP Streamlit

A Streamlit application for zero-shot image classification using OpenAI's CLIP model.

Features

  • Zero-shot image classification
  • Interactive web interface
  • Support for custom labels
  • Confidence threshold adjustment
  • Visual results with bar charts

Installation

Simple installation:

pip install clip-streamlit

The package will automatically install CLIP when you first run the application.

Usage

Run the application:

clip-streamlit

The first time you run it, it will install CLIP if needed.

Or use it in your Python code:

from clip_streamlit import run_app

run_app()

Requirements

  • Python 3.7+
  • Streamlit
  • PyTorch
  • CLIP
  • Pillow

License

MIT License

Metadata

Release files for clip-streamlit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clip-streamlit 1.0.0
File Size Uploaded Provenance Actions
clip_streamlit-1.0.0.tar.gz 5.5 kB Without provenance Details for clip_streamlit-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clip-streamlit 1.0.0
File Interpreter ABI Platform Actions
clip_streamlit-1.0.0-py3-none-any.whl Python 3 none any Details for clip_streamlit-1.0.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / clip_streamlit-1.0.0.tar.gz

Download URL clip_streamlit-1.0.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3bfe0f7436caeb2726ebf75a6ec9d0ec75ba8bde932886e3c86076d51b7f543c
BLAKE2b-256 checksum
How to use checksums
1698f85a095150d5b9d5a9c730104a68d6f936f0dbda42460fc0b2be80458da2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / clip_streamlit-1.0.0-py3-none-any.whl

Download URL clip_streamlit-1.0.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e825d3ad2acf233125cfeadd7e27a8fab54a29f1452f173fe3e283e7a35d695
BLAKE2b-256 checksum
How to use checksums
36b2b4101b7b677df58d78729965efd1b579938322e4aa6679167e711e8ec704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for clip-streamlit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page