Spaces:
Sleeping
Sleeping
|
Download README.md from shohan1010/fastapi: direct link, hf CLI and curl.
- Browser
- Download file 711 Bytes
-
https://huggingface.co/spaces/shohan1010/fastapi/resolve/main/README.md
- Command line
-
hf download hf://spaces/shohan1010/fastapi/README.md
-
curl -L -o README.md https://huggingface.co/spaces/shohan1010/fastapi/resolve/main/README.md
711 Bytes
metadata
title: Google Flan Fastapi
emoji: 👁
colorFrom: green
colorTo: gray
sdk: docker
pinned: false
license: mit
Huggingface Spaces for Docker with FastAPI
Overview
This 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.
Usage
To run the FastAPI server, you can use the following command:
docker-compose up
then visit http://localhost:8000/docs to see the API documentation.