michaelj commited on
Commit
1a9d9e0
1 Parent(s): cef2c6e

add base64

Browse files
Files changed (1) hide show
  1. main.py +1 -3
main.py CHANGED
@@ -1,5 +1,3 @@
1
- # https://medium.com/@qacheampong/building-and-deploying-a-fastapi-app-with-hugging-face-9210e9b4a713
2
- # https://huggingface.co/spaces/Queensly/FastAPI_in_Docker
3
 
4
  from fastapi import FastAPI,Request
5
  import uvicorn
@@ -13,7 +11,7 @@ from utils import replace_background
13
  from diffusers.utils import load_image
14
  import base64
15
  import io
16
- app = FastAPI()
17
  pipeline = get_pipeline()
18
 
19
  #Endpoints
 
 
 
1
 
2
  from fastapi import FastAPI,Request
3
  import uvicorn
 
11
  from diffusers.utils import load_image
12
  import base64
13
  import io
14
+ app = FastAPI(name="mutilParam")
15
  pipeline = get_pipeline()
16
 
17
  #Endpoints