File size: 697 Bytes
20b3758
b3b5bdb
 
 
 
20b3758
 
 
 
4edcae0
4040b1d
 
5a475ff
 
 
 
 
 
 
 
 
 
 
 
b3b5bdb
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: Fastes
emoji: πŸš€
colorFrom: blue
colorTo: green
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:
```bash
docker-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)]