mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore: clean up .gitignore
This commit is contained in:
parent
7b2079cf83
commit
4da861e980
33
.gitignore
vendored
33
.gitignore
vendored
@ -1,16 +1,4 @@
|
|||||||
# ignore default image save location and model symbolic link
|
|
||||||
.idea/
|
.idea/
|
||||||
embeddings/
|
|
||||||
outputs/
|
|
||||||
models/ldm/stable-diffusion-v1/model.ckpt
|
|
||||||
**/restoration/codeformer/weights
|
|
||||||
|
|
||||||
# ignore user models config
|
|
||||||
configs/models.user.yaml
|
|
||||||
config/models.user.yml
|
|
||||||
invokeai.init
|
|
||||||
.version
|
|
||||||
.last_model
|
|
||||||
|
|
||||||
# ignore the Anaconda/Miniconda installer used while building Docker image
|
# ignore the Anaconda/Miniconda installer used while building Docker image
|
||||||
anaconda.sh
|
anaconda.sh
|
||||||
@ -186,38 +174,17 @@ cython_debug/
|
|||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
src
|
|
||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
outputs
|
|
||||||
|
|
||||||
# Logs and associated folders
|
|
||||||
# created from generated embeddings.
|
|
||||||
logs
|
|
||||||
testtube
|
|
||||||
checkpoints
|
|
||||||
# If it's a Mac
|
# If it's a Mac
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
invokeai/frontend/yarn.lock
|
|
||||||
invokeai/frontend/node_modules
|
|
||||||
|
|
||||||
# Let the frontend manage its own gitignore
|
# Let the frontend manage its own gitignore
|
||||||
!invokeai/frontend/web/*
|
!invokeai/frontend/web/*
|
||||||
|
|
||||||
# Scratch folder
|
# Scratch folder
|
||||||
.scratch/
|
.scratch/
|
||||||
.vscode/
|
.vscode/
|
||||||
gfpgan/
|
|
||||||
models/ldm/stable-diffusion-v1/*.sha256
|
|
||||||
|
|
||||||
# GFPGAN model files
|
|
||||||
gfpgan/
|
|
||||||
|
|
||||||
# config file (will be created by installer)
|
|
||||||
configs/models.yaml
|
|
||||||
|
|
||||||
# ignore initfile
|
|
||||||
.invokeai
|
|
||||||
|
|
||||||
# ignore environment.yml and requirements.txt
|
# ignore environment.yml and requirements.txt
|
||||||
# these are links to the real files in environments-and-requirements
|
# these are links to the real files in environments-and-requirements
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
import IAIDndImage from 'common/components/IAIDndImage';
|
||||||
|
import { memo } from 'react';
|
||||||
|
import { useGetImageDTOQuery } from 'services/api/endpoints/images';
|
||||||
|
import { ImageOutput } from 'services/api/types';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
output: ImageOutput;
|
||||||
|
};
|
||||||
|
|
||||||
|
const ImageOutputPreview = ({ output }: Props) => {
|
||||||
|
const { image } = output;
|
||||||
|
const { data: imageDTO } = useGetImageDTOQuery(image.image_name);
|
||||||
|
|
||||||
|
return <IAIDndImage imageDTO={imageDTO} />;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default memo(ImageOutputPreview);
|
@ -0,0 +1,13 @@
|
|||||||
|
import { Text } from '@chakra-ui/react';
|
||||||
|
import { memo } from 'react';
|
||||||
|
import { FloatOutput, IntegerOutput } from 'services/api/types';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
output: IntegerOutput | FloatOutput;
|
||||||
|
};
|
||||||
|
|
||||||
|
const NumberOutputPreview = ({ output }: Props) => {
|
||||||
|
return <Text>{output.value}</Text>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default memo(NumberOutputPreview);
|
@ -0,0 +1,13 @@
|
|||||||
|
import { Text } from '@chakra-ui/react';
|
||||||
|
import { memo } from 'react';
|
||||||
|
import { StringOutput } from 'services/api/types';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
output: StringOutput;
|
||||||
|
};
|
||||||
|
|
||||||
|
const StringOutputPreview = ({ output }: Props) => {
|
||||||
|
return <Text>{output.value}</Text>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default memo(StringOutputPreview);
|
Loading…
Reference in New Issue
Block a user