CoolFace
Apppublic

jxtan/fastapi_ai_endpoints

sourceHugging Faceupdated 3y agoView on Hugging Face
2likes
README.md28 linesDownload Raw Back to root
1 2---3title: Fastapi Ai Endpoints4emoji: 🐢5colorFrom: green6colorTo: red7sdk: docker8pinned: false9---10 11Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12 13https://huggingface.co/blog/HemanthSai7/deploy-applications-on-huggingface-spaces14 15Objective: Convert any Huggingface repository into an API endpoint16 17Users should be able to call the task and get back in the standard format18 19/sentence-embeddings20 21{22    "model": "BAAI/bge-base-en-v1.5",23    "inputs: ["This is one text", "This is second text"],24    "parameters": {}25}26 27TODO: Models are cached in volume directory28