Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Commit
•
2c405ce
1
Parent(s):
ff28775
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from pydantic import BaseModel
|
|
3 |
from lama_cleaner.server import process
|
4 |
import uvicorn
|
5 |
from fastapi import FastAPI
|
6 |
-
|
7 |
@app.on_event("startup")
|
8 |
async def app_start():
|
9 |
image_bytes = open('image.jpg', 'rb')
|
|
|
3 |
from lama_cleaner.server import process
|
4 |
import uvicorn
|
5 |
from fastapi import FastAPI
|
6 |
+
app = FastAPI()
|
7 |
@app.on_event("startup")
|
8 |
async def app_start():
|
9 |
image_bytes = open('image.jpg', 'rb')
|