rogerxavier commited on
Commit
ca447d4
1 Parent(s): 24c1d87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ 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"
 
5
  from lama_cleaner.server import process
6
  from lama_cleaner.server import main#先初始化才能用process
7
  from fastapi import FastAPI
8
+ import uvicorn
9
  #urllib3 1.26.4 兼容
10
  class FakeArgs(BaseModel):
11
  host: str = "0.0.0.0"