Merge pull request #10550 from akx/git-blame-ignore-revs

Add .git-blame-ignore-revs
This commit is contained in:
AUTOMATIC1111 2023-05-19 16:28:22 +03:00 committed by GitHub
commit a6bf4aae30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,2 @@
# Apply ESlint
9c54b78d9dde5601e916f308d9a9d6953ec39430

View File

@ -76,7 +76,7 @@ def api_loras(_: gr.Blocks, app: FastAPI):
@app.get("/sdapi/v1/loras")
async def get_loras():
return [create_lora_json(obj) for obj in lora.available_loras.values()]
@app.post("/sdapi/v1/refresh-loras")
async def refresh_loras():
return lora.list_available_loras()