mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 16:07:21 +00:00
Allowed the Batch Processing assistant to process images (#1087)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
5d6e48ef93
commit
e019c24ea2
19 files changed
+429
-31
No files matched your search
@@ -100,6 +100,17 @@ public static class FileTypes
|
||||
public static readonly FileTypeFilter IMAGE = FileTypeFilter.Leaf(TB("Image"),
|
||||
"jpg", "jpeg", "png", "gif", "bmp", "tiff", "svg", "webp", "heic", "avif");
|
||||
|
||||
/// <summary>
|
||||
/// The image formats we hand to a model as they are.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The providers accept these, while other formats, such as TIFF or HEIC, would end in an
|
||||
/// error of the provider which tells the user nothing. The default file patterns of the batch
|
||||
/// processing assistant list the same formats, see DataBatchProcessing.DEFAULT_FILE_PATTERNS.
|
||||
/// </remarks>
|
||||
public static readonly FileTypeFilter MODEL_IMAGE = FileTypeFilter.Leaf(TB("Image for AI models"),
|
||||
"jpg", "jpeg", "png", "webp", "gif");
|
||||
|
||||
/// <summary>
|
||||
/// Gets the prototype visual-asset image formats.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user