aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/api.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | rename --add-stop-route to --api-server-stopw-e-w2023-06-291-1/+1
| | | |
| * | | Merge branch 'dev' into better-status-reporting-1AUTOMATIC11112023-07-081-27/+30
| |\ \ \
| | * \ \ Merge pull request #11656 from jovijovi/devAUTOMATIC11112023-07-081-0/+2
| | |\ \ \ | | | | | | | | | | | | fix(api): convert to "RGB" if image mode is "RGBA" #11655
| | | * | | fix(api): convert to "RGB" if image mode is "RGBA"jovijovi2023-07-061-0/+2
| | | | | |
| | * | | | Use contextlib for closing the generation processramyma2023-07-031-8/+3
| | | | | |
| | * | | | Handle cleanup in case there's an exception thrownramyma2023-07-031-26/+31
| | | | | |
| | * | | | Hotfix: call processing close to cleanup API generation callsramyma2023-07-021-0/+2
| | | |/ / | | |/| |
| * | | | API: use finally: for state.end()Aarni Koskela2023-07-031-15/+14
| | | | |
| * | | | Add job argument to State.begin()Aarni Koskela2023-07-031-7/+7
| |/ / /
| * | | Merge pull request #11046 from akx/ded-codeAUTOMATIC11112023-06-271-7/+0
| |\ \ \ | | | | | | | | | | Remove a bunch of unused/vestigial code
| | * | | Remove a bunch of unused/vestigial codeAarni Koskela2023-06-051-7/+0
| | |/ / | | | | | | | | | | | | As found by Vulture and some eyes
| * | | fix and rework #11113AUTOMATIC2023-06-271-3/+3
| | | |
| * | | Merge branch 'dev' into masterAUTOMATIC11112023-06-271-7/+38
| |\ \ \
| | * | | terminate -> stopw-e-w2023-06-141-2/+2
| | | | |
| | * | | response 501 if not a able to restartw-e-w2023-06-141-0/+1
| | | | |
| | * | | rename routesw-e-w2023-06-141-5/+5
| | | | |
| | * | | move _stop route to apiw-e-w2023-06-121-2/+9
| | | | |
| | * | | quit restartw-e-w2023-06-101-1/+10
| | |/ /
| * | | update model checkpoint switch codeSu Wei2023-06-121-5/+4
| | | |
| * | | add model exists status check to modeuls/api/api.py , /sdapi/v1/options [POST]Su Wei2023-06-091-1/+6
| | | |
* | | | set timeout_keep_aliveTangJicheng2023-07-111-1/+1
| |_|/ |/| |
* | | add queue lock for refresh-checkpointstangjicheng2023-07-101-1/+2
| |/ |/|
* | Merge pull request #10956 from akx/lenAUTOMATIC11112023-06-051-1/+1
|\ \ | | | | | | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
| * | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela2023-06-021-1/+1
| | |
* | | Add endpoint to get latent_upscale_modes for hires fixramyma2023-06-041-0/+9
|/ /
* | rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-3/+2
| |
* | Merge branch 'dev' into report-errorAUTOMATIC11112023-05-311-0/+5
|\ \
| * \ Merge pull request #10845 from DragonHawkAlpha/masterAUTOMATIC11112023-05-311-0/+5
| |\ \ | | | | | | | | Added VAE listing to web API. Via: /sdapi/v1/sd-vae
| | * | Added VAE listing to web API.James2023-05-291-0/+5
| | |/
* | / Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-3/+4
|/ / | | | | | | by hand
* | Merge pull request #10635 from prodialabs/masterAUTOMATIC11112023-05-221-1/+1
|\ \ | |/ |/| disable `timeout_keep_alive`: fixes #10625 #10510 #10474
| * `modules/api/api.py`: disable `timeout_keep_alive`Monty Anderson2023-05-221-1/+1
| |
* | add /sdapi/v1/script-info apiAUTOMATIC2023-05-171-2/+11
| |
* | Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-2/+2
| |
* | manual fixes for some C408AUTOMATIC2023-05-101-1/+1
| |
* | ruff manual fixesAUTOMATIC2023-05-101-6/+12
| |
* | manual fixes for ruffAUTOMATIC2023-05-101-63/+66
| |
* | autofixes from ruffAUTOMATIC2023-05-101-7/+7
|/
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-11/+11
|
* bump gradio to 3.28.1AUTOMATIC2023-04-291-1/+1
|
* Merge pull request #9130 from ↵AUTOMATIC11112023-04-291-1/+3
|\ | | | | | | | | Vespinian/fix-api-alwayson_scripts-less-then-requiered-args [Fix] Prevent alwayson_scripts args param resizing script_arg list when they are inserted in it
| * Changed behavior that puts the args from alwayson_script request in the ↵Vespinian2023-03-291-1/+3
| | | | | | | | script_args, so don't accidently resize the arg list if we get less arg then or default list has
* | bump gradio to 3.27AUTOMATIC2023-04-291-9/+3
|/
* Merge pull request #8669 from Vespinian/fix-api-running-unwanted_scriptsAUTOMATIC11112023-03-271-6/+25
|\ | | | | Fix for API running unwanted alwayson scripts
| * Reworked this PR, now we have 2 default arg list (one for each tab) that ↵Vespinian2023-03-251-6/+25
| | | | | | | | will be initialized on the first api request and then reused afterwards. The init_script_args copies the corresponding default list and applies the modifications asked by the api request.
| * Revert "Made copies of global scriptrunners, now we clear the copied ↵Vespinian2023-03-251-13/+3
| | | | | | | | | | | | scriptrunner of alwayson_scripts and only add back the ones that that were requested" This reverts commit dfa258de5f87ea7f5ff49e29ddf6e7b34ff8ebff.
| * Revert "Comment fix"Vespinian2023-03-251-1/+1
| | | | | | | | This reverts commit f04bd037a51de3c65072581d9a7dfed1d0d2887e.
| * Comment fixVespinian2023-03-161-1/+1
| |
| * Made copies of global scriptrunners, now we clear the copied scriptrunner of ↵Vespinian2023-03-161-3/+13
| | | | | | | | alwayson_scripts and only add back the ones that that were requested
* | Merge pull request #8662 from vladmandic/api-handlerAUTOMATIC11112023-03-251-1/+44
|\ \ | | | | | | api error handler