mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-26 11:52:42 -08:00
Merge pull request #10550 from akx/git-blame-ignore-revs
Add .git-blame-ignore-revs
This commit is contained in:
commit
a6bf4aae30
2 changed files with 3 additions and 1 deletions
2
.git-blame-ignore-revs
Normal file
2
.git-blame-ignore-revs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Apply ESlint
|
||||
9c54b78d9dde5601e916f308d9a9d6953ec39430
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue