Merge pull request #10550 from akx/git-blame-ignore-revs
Add .git-blame-ignore-revs
This commit is contained in:
commit
a6bf4aae30
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")
|
@app.get("/sdapi/v1/loras")
|
||||||
async def get_loras():
|
async def get_loras():
|
||||||
return [create_lora_json(obj) for obj in lora.available_loras.values()]
|
return [create_lora_json(obj) for obj in lora.available_loras.values()]
|
||||||
|
|
||||||
@app.post("/sdapi/v1/refresh-loras")
|
@app.post("/sdapi/v1/refresh-loras")
|
||||||
async def refresh_loras():
|
async def refresh_loras():
|
||||||
return lora.list_available_loras()
|
return lora.list_available_loras()
|
||||||
|
Loading…
Reference in New Issue
Block a user