Kevin Turner
88963dbe6e
Merge remote-tracking branch 'origin/main' into feat/dev_reload
...
# Conflicts:
# invokeai/app/api_app.py
# invokeai/app/services/config.py
2023-08-21 09:04:31 -07:00
Martin Kristiansen
537ae2f901
Resolving merge conflicts for flake8
2023-08-18 15:52:04 +10:00
Kevin Turner
654dcd453f
feat(dev_reload): use jurigged to hot reload changes to Python source
2023-08-17 19:02:44 -07:00
psychedelicious
f49fc7fb55
feat: node editor
...
squashed rebase on main after backendd refactor
2023-08-16 09:54:38 +10:00
psychedelicious
9affdbbaad
chore: black
2023-07-28 11:38:52 +10:00
Lincoln Stein
64bd11541a
Merge branch 'main' into feat/unify-logging
2023-07-27 15:20:07 -04:00
Lincoln Stein
8023a23cec
beat uvicorn access log into submission
2023-07-27 12:05:17 -04:00
Lincoln Stein
e4c0102b3c
unified uvicorn access log entries too
2023-07-27 11:59:29 -04:00
Lincoln Stein
c4a2808a4b
use same logging infrastructure for uvicorn and backend
2023-07-27 11:24:07 -04:00
Martin Kristiansen
218b6d0546
Apply black
2023-07-27 10:54:01 -04:00
Lincoln Stein
b8f43f444a
implemented startup sanity checks on core models
2023-07-26 08:26:29 -04:00
psychedelicious
509514f11d
feat(api): display warning when port is in use
2023-07-19 13:29:31 -04:00
psychedelicious
c557402dbb
feat(api): use next available port
...
Resolves #3515
@ebr @brandonrising can't imagine this would cause issues but just FYI
2023-07-19 13:29:31 -04:00
Sergey Borisov
6aefd8600a
Fix error with long prompts when controlnet used
2023-07-16 21:06:40 -04:00
Lincoln Stein
2f3190ad6c
merge with main
2023-07-09 13:28:05 -04:00
psychedelicious
4640969037
fix(api): fix for borked windows mimetypes registry
...
It's possible for the Windows mimetypes for js to be changed and cause content-type errors when running the app.
Explicitly set the mimetypes to rectify this. Note that the root cause is a misconfiguration on the client - not our end.
See https://github.com/invoke-ai/InvokeAI/discussions/3684#discussioncomment-6391352
2023-07-09 11:05:01 +10:00
Lincoln Stein
bd9786564c
merge with main
2023-07-08 10:11:25 -04:00
blessedcoolant
3333805821
feat: Add App Version to UI
2023-07-08 21:31:17 +12:00
Lincoln Stein
8e8f9cce0f
print version when --version provided at command line
2023-07-07 20:47:29 -04:00
gogurtenjoyer
233869b56a
Mac MPS FP16 fixes
...
This PR is to allow FP16 precision to work on Macs with MPS. In addition, it centralizes the torch fixes/workarounds
required for MPS into a new backend utility file `mps_fixes.py`. This is conditionally imported in `api_app.py`/`cli_app.py`.
Many MANY thanks to StAlKeR7779 for patiently working to debug and fix these issues.
2023-07-04 18:10:53 -04:00
Sergey Borisov
21245a0fb2
Set model type to const value in openapi schema, add model format enums to model schema(as they not not referenced in case of Literal definition)
2023-06-22 16:51:53 +10:00
maryhipp
748016bdab
routes working
2023-06-22 16:25:49 +10:00
psychedelicious
72e9ced889
feat(nodes): add boards and board_images services
2023-06-22 16:25:49 +10:00
maryhipp
a1671519d5
board CRUD
2023-06-22 16:25:49 +10:00
Lincoln Stein
f2bb507ebb
allow logger to be reconfigured after startup
2023-06-08 09:23:11 -04:00
Lincoln Stein
90333c0074
merge with main
2023-06-05 22:03:44 -04:00
Lincoln Stein
46cab81d6f
fix missing web_dir
2023-05-25 22:01:48 -04:00
Lincoln Stein
2273b3a8c8
fix potential race condition in config system
2023-05-25 20:41:26 -04:00
Lincoln Stein
9110838fe4
Merge branch 'main' into release/make-web-dist-startable
2023-05-25 19:06:09 -04:00
psychedelicious
23d9d58c08
fix(nodes): fix bugs with serving images
...
When returning a `FileResponse`, we must provide a valid path, else an exception is raised outside the route handler.
Add the `validate_path` method back to the service so we can validate paths before returning the file.
I don't like this but apparently this is just how `starlette` and `fastapi` works with `FileResponse`.
2023-05-24 11:30:47 -04:00
psychedelicious
b9375186a5
feat(nodes): consolidate image routers
2023-05-24 11:30:47 -04:00
psychedelicious
734b653a5f
fix(nodes): add base images router
2023-05-24 11:30:47 -04:00
psychedelicious
5bf9891553
feat(nodes): it works
2023-05-24 11:30:47 -04:00
psychedelicious
1b75d899ae
feat(nodes): wip image storage implementation
2023-05-24 11:30:47 -04:00
psychedelicious
33d199c007
feat(nodes): image records router
2023-05-24 11:30:47 -04:00
psychedelicious
9c89d3452c
feat(nodes): add high-level images service
...
feat(nodes): add ResultsServiceABC & SqliteResultsService
**Doesn't actually work bc of circular imports. Can't even test it.**
- add a base class for ResultsService and SQLite implementation
- use `graph_execution_manager` `on_changed` callback to keep `results` table in sync
fix(nodes): fix results service bugs
chore(ui): regen api
fix(ui): fix type guards
feat(nodes): add `result_type` to results table, fix types
fix(nodes): do not shadow `list` builtin
feat(nodes): add results router
It doesn't work due to circular imports still
fix(nodes): Result class should use outputs classes, not fields
feat(ui): crude results router
fix(ui): send to canvas in currentimagebuttons not working
feat(nodes): add core metadata builder
feat(nodes): add design doc
feat(nodes): wip latents db stuff
feat(nodes): images_db_service and resources router
feat(nodes): wip images db & router
feat(nodes): update image related names
feat(nodes): update urlservice
feat(nodes): add high-level images service
2023-05-24 11:30:47 -04:00
Lincoln Stein
d4fb16825e
move static into invokeai.frontend.web directory for dist install
2023-05-22 16:48:17 -04:00
Eugene
8a8b09a953
api_app: rename web_config to app_config for consistency
2023-05-17 19:42:13 -04:00
Lincoln Stein
eadfd239a8
update config script to work with new config system
2023-05-17 00:18:19 -04:00
Lincoln Stein
1103ab2844
merge with main
2023-05-13 21:35:19 -04:00
Lincoln Stein
11b2076b46
implement change to web_config suggested by ebr
2023-05-13 21:33:19 -04:00
psychedelicious
ee24ad7b13
fix(nodes): fix broken docs routes
2023-05-10 08:28:17 -04:00
psychedelicious
f8e90ba3f0
feat(nodes): add ui build static route
2023-05-10 08:28:17 -04:00
Lincoln Stein
e4196bbe5b
adjust non-app modules to use new config system
2023-05-04 00:43:51 -04:00
Lincoln Stein
90054ddf0d
use InvokeAISettings for app-wide configuration
2023-05-03 22:30:30 -04:00
Lincoln Stein
b050c1bb8f
use logger in ApiDependencies
2023-05-01 16:27:44 -04:00
Kyle Schouviller
a7833cc9a9
[api] Add models router and list model API.
2023-04-05 23:59:07 -04:00
Kyle Schouviller
24aca37538
Just set output value in node schemas. Don't use additionalProperties, which would impact the schema.
2023-03-12 20:40:29 -07:00
Kyle Schouviller
b853ceea65
[nodes-api] Fix API generation to correctly reference outputs
2023-03-12 20:03:26 -07:00
Lincoln Stein
74a480f94e
add back static web directory
2023-03-11 21:23:41 -05:00