Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Commit
•
24c1d87
1
Parent(s):
4106353
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
from pydantic import BaseModel
|
5 |
from lama_cleaner.server import process
|
6 |
from lama_cleaner.server import main#先初始化才能用process
|
7 |
-
from fastapi import
|
8 |
#urllib3 1.26.4 兼容
|
9 |
class FakeArgs(BaseModel):
|
10 |
host: str = "0.0.0.0"
|
|
|
4 |
from pydantic import BaseModel
|
5 |
from lama_cleaner.server import process
|
6 |
from lama_cleaner.server import main#先初始化才能用process
|
7 |
+
from fastapi import FastAPI
|
8 |
#urllib3 1.26.4 兼容
|
9 |
class FakeArgs(BaseModel):
|
10 |
host: str = "0.0.0.0"
|