Spaces:
Sleeping
Sleeping
from typing import List | |
from fastapi import FastAPI | |
from models import RequestModel, ResponseModel | |
from similarity import check_similarity | |
app = FastAPI() | |
async def similarity(images: List[RequestModel]): | |
similarities = check_similarity(images) | |
return similarities | |