jxtan's picture
Added Translation Endpoint
b805057
metadata
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": {} }

TODO: Models are cached in volume directory