File size: 1,592 Bytes
026a190
 
 
 
 
 
e694c44
 
026a190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72cd7d2
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
title: Nomic MCP Tool
emoji: 🗂️
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: "5.30.0"
app_file: app.py
pinned: false
---
# Nomic Vision Embedding Model

This project provides a Gradio interface for the [nomic-ai/nomic-embed-vision-v1.5](https://huggingface.co/nomic-ai/nomic-embed-vision-v1.5) image embedding model. It allows you to upload images and generate embeddings that can be used for various computer vision tasks.

## Features

- Generate embeddings for images using the nomic-ai/nomic-embed-vision-v1.5 model
- Simple and intuitive Gradio web interface
- Support for various image formats

## How It Works

The application uses the Hugging Face Transformers library to load the nomic-ai/nomic-embed-vision-v1.5 model and generate embeddings for uploaded images. The embeddings are high-dimensional vector representations of the images that capture their semantic content.

## Deployment

This application is designed to be deployed on Huggingface Spaces. To deploy:

1. Create a new Space on Huggingface Spaces with the Gradio SDK
2. Upload these files to your Space
3. The Space will automatically build and deploy the application

## Local Development

To run this application locally:

1. Clone this repository
2. Install the dependencies: `pip install -r requirements.txt`
3. Run the application: `python app.py`
4. Open your browser at http://localhost:7860

## Requirements

- Python 3.7+
- Gradio 4.19.0+
- Transformers
- PyTorch
- Pillow
- NumPy
- Requests

## License

This project is licensed under the MIT License - see the LICENSE file for details.