18 Commits

Author SHA1 Message Date
Chenlei Hu
8e56ed7a99 Use new TS frontend uncompressed (#4379)
* Swap frontend uncompressed

* Add uncompressed files
2024-08-15 16:50:25 -04:00
comfyanonymous
cd49c56d20 Fix bug loading flac workflow when it contains = character. 2024-08-02 13:14:28 -04:00
Greg Wainer
5d259b1bfd Fix/webp exif little endian (#4061)
* Fix for isLittleEndian flag in parseExifData.

* Add break after reading first exif chunk in getWebpMetadata.
2024-07-19 18:39:04 -04:00
comfyanonymous
69450606f8 Save and load workflow from the flac files output by SaveAudio. 2024-06-27 02:07:29 -04:00
Gorka Eguileor
25c81b10e5 Improve A1111 metadata parsing (#3216)
* A1111 import: Set VAE name

This patch sets the VAE name for the `VAELoader` when present in the png
metadata.

* A1111 import: Skip all hashes

When importing from A1111 the parsing assumes that values of a key will
never contain a ":", which is not correct.

There are 2 cases where we can have ":" in the value:

- Inside a string. E.g.:
  Lora hashes: "xl_more_art-full_v1: fe3b4816be83, add-detail-xl: 9c783c8ce46c"

- When the value is a json dictionary. E.g.:
  Hashes: {"vae": "63aeecb90f", "embed:negativeXL_D": "fff5d51ab6"}

This patch changes how we parse the metadata to take those 2 cases into
account and also skips the following additional keys that are present in
some Forge images:

- Version
- VAE hash
- TI hashes
- Lora hashes
- Hashes

* A1111 import: Parse Hires steps

This patch parses the `Hires steps` parameter that is part of the High
Resolution Upscale configuration when it  is present, and fallbacks to
the one from the `samplerNode` (like the code currently does) if it's
not present.
2024-04-06 12:10:17 -04:00
shiimizu
42458f34bc Support additional PNG info. 2024-02-18 17:57:53 -08:00
comfyanonymous
ef7e79ec85 Fix output APNG not working with ffmpeg. 2023-11-24 18:24:19 -05:00
comfyanonymous
b55e3ab86b Add a node to save animated webp. 2023-11-23 14:28:41 -05:00
comfyanonymous
01f370238c Cleanup webp import code a bit. 2023-10-28 12:24:50 -04:00
comfyanonymous
f5c221fd20 Remove prints. 2023-10-23 23:39:22 -04:00
comfyanonymous
905df257d8 The frontend can now load workflows from webp exif. 2023-10-23 21:13:50 -04:00
comfyanonymous
95008c22cd Add CheckpointSave node to save checkpoints.
The created checkpoints contain workflow metadata that can be loaded by
dragging them on top of the UI or loading them with the "Load" button.

Checkpoints will be saved in fp16 or fp32 depending on the format ComfyUI
is using for inference on your hardware. To force fp32 use: --force-fp32

Anything that patches the model weights like merging or loras will be
saved.

The output directory is currently set to: output/checkpoints but that might
change in the future.
2023-06-26 12:22:27 -04:00
comfyanonymous
f7bc2dffd4 Fix issue importing other ui prompts. 2023-05-24 14:01:11 -04:00
comfyanonymous
0cba25cd20 Load workflow from latent file. 2023-05-18 02:41:21 -04:00
pythongosssss
855442e5b1 Prevent generating bad replacement regex 2023-04-15 10:29:32 +01:00
Filipe
715ecf8f96 Fix large workflow pnginfo import 2023-04-08 12:00:03 -03:00
pythongosssss
7a0cd33d8e Updated a1111 pnginfo importer, supports:
- model name, other basic settings
 - clip skip
 - hr upscale
 - loras
 - embeddings
2023-03-12 21:36:42 +00:00
pythongosssss
739fb214e0 Added handling of sockets
Started rework of UI elements
Added pnginfo handling
2023-03-02 21:34:29 +00:00