File size: 572 Bytes
ad6d176
 
 
 
 
 
 
 
 
 
 
 
89860e6
 
 
 
 
 
 
 
 
 
 
 
 
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

---
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": {}
}