add missing requirement for api and fix some typos
This commit is contained in:
parent
964b63c042
commit
d42125baf6
|
@ -18,7 +18,7 @@ class TextToImageResponse(BaseModel):
|
|||
|
||||
|
||||
class Api:
|
||||
def __init__(self, txt2img, img2img, run_extras, run_pnginfo):
|
||||
def __init__(self):
|
||||
self.router = APIRouter()
|
||||
app.add_api_route("/v1/txt2img", self.text2imgapi, methods=["POST"])
|
||||
|
||||
|
|
|
@ -23,3 +23,4 @@ resize-right
|
|||
torchdiffeq
|
||||
kornia
|
||||
lark
|
||||
inflection
|
||||
|
|
|
@ -22,3 +22,4 @@ resize-right==0.0.2
|
|||
torchdiffeq==0.2.3
|
||||
kornia==0.6.7
|
||||
lark==1.1.2
|
||||
inflection==0.5.1
|
||||
|
|
Loading…
Reference in New Issue