This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gradio as gr | |
from PIL import Image | |
from qdrant_client import models, QdrantClient | |
from tqdm import tqdm | |
import numpy as np | |
from imagebind import data | |
import torch | |
from imagebind.models import imagebind_model | |
from imagebind.models.imagebind_model import ModalityType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
from sentence_transformers import SentenceTransformer | |
from qdrant_client import models, QdrantClient | |
#instantiate qdrant client | |
print("[INFO] Client created...") | |
qdrant = QdrantClient("localhost", port=6333) | |
#importing the GTE model |