Spaces:
Sleeping
Sleeping
sarthaksavvy commited on
Commit ·
5a475ff
1
Parent(s): 5f4c13a
[main] updated readme
Browse files12345678912113456789101112131415---title: Google Flan Fastapiemoji: 👁colorFrom: greencolorTo: graysdk: dockerpinned: falselicense: mit---# Huggingface Spaces for Docker with FastAPI
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference## OverviewThis repository contains a simple example of how to deploy a Huggingface model using Docker and FastAPI. The model used is the `google-flan-t5-base` model from the Huggingface model hub.
## UsageTo run the FastAPI server, you can use the following command:```bashdocker-compose up```then visit `http://localhost:8000/docs` to see the API documentation.
## Useful Links- [Google Flan T5 Base Model](https://huggingface.co/google/flan-t5-base)- [Files](https://huggingface.co/spaces/sarthaksavvy/google-flan-fastapi/tree/main)].DS_StoreAdded
README.md+14-10