sarthaksavvy commited on
Commit
5a475ff
·
1 Parent(s): 5f4c13a

[main] updated readme

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. README.md +14 -10
.DS_Store ADDED
Binary file (6.15 kB). View file
 
README.md CHANGED
@@ -1,11 +1,15 @@
1
- ---
2
- title: Google Flan Fastapi
3
- emoji: 👁
4
- colorFrom: green
5
- colorTo: gray
6
- sdk: docker
7
- pinned: false
8
- license: mit
9
- ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Huggingface Spaces for Docker with FastAPI
 
 
 
 
 
 
 
 
2
 
3
+ ## Overview
4
+ 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.
5
+
6
+ ## Usage
7
+ To run the FastAPI server, you can use the following command:
8
+ ```bash
9
+ docker-compose up
10
+ ```
11
+ then visit `http://localhost:8000/docs` to see the API documentation.
12
+
13
+ ## Useful Links
14
+ - [Google Flan T5 Base Model](https://huggingface.co/google/flan-t5-base)
15
+ - [Files](https://huggingface.co/spaces/sarthaksavvy/google-flan-fastapi/tree/main)]