Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
Merge remote-tracking branch 'origin/main' into feat/tweaks-fixes-compendium-03
Josh Corbett4d8e9fd05f2a
diff --cc invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsxindex 13896b7c1a,c4a17773d9..66a2f6edb3--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx@@@ -3,13 -3,16 +3,14 @@@ import type { GalleryItem, GalleryItemKimport { Box, HStack, Icon, Image, Spinner, Stack, Text } from '@chakra-ui/react';import { useDndMonitor } from '@dnd-kit/core';- import { classifyGalleryUpload, getGalleryItemByRef } from '@features/gallery/data/backend';+ import { classifyGalleryUpload, getGalleryUploadAccept } from '@features/gallery/core/items';+ import { getGalleryItemByRef } from '@features/gallery/data/backend';import { getGalleryImageThumbnailUrl } from '@features/gallery/data/imageUrls';-import { galleryBoardsOptions } from '@features/gallery/data/queries';import { getGalleryVideoThumbnailUrl } from '@features/gallery/data/videoUrls';import { FindInGalleryThumbnailButton } from '@features/gallery/ui/FindInGalleryButton';import { isGalleryItemDragData, useGalleryItemDroppable } from '@features/gallery/ui/galleryDnd';import { useGalleryUi } from '@features/gallery/ui/GalleryUiContext';- import { getGalleryUploadAccept, useGalleryUploadInput } from '@features/gallery/ui/useGalleryUploadInput';-import { useGalleryUploadAction } from '@features/gallery/ui/useGalleryUploadAction';+ import { useGalleryUploadInput } from '@features/gallery/ui/useGalleryUploadInput';import {assertAccountScopeCurrent,captureAccountScope,diff --cc invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsxindex db3ce9558f,c0d73f0ba0..7981324409--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx@@@ -1,8 -1,8 +1,8 @@@/* eslint-disable react-perf/jsx-no-jsx-as-prop, react-perf/jsx-no-new-array-as-prop, react-perf/jsx-no-new-function-as-prop, react-perf/jsx-no-new-object-as-prop */- import type { StarterModel } from '@features/models/core/types';+ import type { ModelRecordChanges, StarterModel } from '@features/models/core/types';import type { ElementType } from 'react';- import { Box, Checkbox, Flex, HStack, Icon, Input, InputGroup, Spinner, Stack, Text } from '@chakra-ui/react';-import { Box, Flex, HStack, Icon, Input, InputGroup, Stack, Text } from '@chakra-ui/react';++import { Box, Flex, HStack, Icon, Input, InputGroup, Spinner, Stack, Text } from '@chakra-ui/react';import { collectBases, collectTypes } from '@features/models/core/library';import {DEFAULT_STARTER_MODEL_FILTERS,@@@ -90,9 -97,9 +97,10 @@@ export const AddModelsView = () =>const [query, setQuery] = useState(getAddModelsSeed);const [accessToken, setAccessToken] = useState('');const [inplace, setInplace] = useState(true);+ const [fp8Storage, setFp8Storage] = useState(false);const { isBusy: isPulling, run: runPull } = useScopedAction();const { isBusy: isScanning, run: runScan } = useScopedAction();+ const scanAbortRef = useRef<AbortController | null>(null);const [installingBundle, setInstallingBundle] = useState<string | null>(null);const providerConfigs = useExternalProvidersSelector((snapshot) => snapshot.configs);const configuredExternalProviders = useMemo<ReadonlySet<string>>(