jxtan's picture
Update README.md
ad6d176 verified
|
raw
history blame
572 Bytes
---
title: Fastapi Ai Endpoints
emoji: 🐢
colorFrom: green
colorTo: red
sdk: docker
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
https://huggingface.co/blog/HemanthSai7/deploy-applications-on-huggingface-spaces
Objective: Convert any Huggingface repository into an API endpoint
Users should be able to call the task and get back in the standard format
/sentence-embeddings
{
"model": "BAAI/bge-base-en-v1.5",
"inputs: ["This is one text", "This is second text"],
"parameters": {}
}