mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'development' of github.com:invoke-ai/InvokeAI into development
This commit is contained in:
commit
1f25f52af9
2
frontend/.gitignore
vendored
2
frontend/.gitignore
vendored
@ -23,5 +23,3 @@ dist-ssr
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
dist/*
|
|
||||||
|
BIN
frontend/dist/assets/Inter-Bold.790c108b.ttf
vendored
Normal file
BIN
frontend/dist/assets/Inter-Bold.790c108b.ttf
vendored
Normal file
Binary file not shown.
BIN
frontend/dist/assets/Inter.b9a8e5e2.ttf
vendored
Normal file
BIN
frontend/dist/assets/Inter.b9a8e5e2.ttf
vendored
Normal file
Binary file not shown.
BIN
frontend/dist/assets/favicon.0d253ced.ico
vendored
Normal file
BIN
frontend/dist/assets/favicon.0d253ced.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
BIN
frontend/dist/assets/image2img.dde6a9f1.png
vendored
Normal file
BIN
frontend/dist/assets/image2img.dde6a9f1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 KiB |
1
frontend/dist/assets/index.60ca0ee5.css
vendored
Normal file
1
frontend/dist/assets/index.60ca0ee5.css
vendored
Normal file
File diff suppressed because one or more lines are too long
483
frontend/dist/assets/index.a0198006.js
vendored
Normal file
483
frontend/dist/assets/index.a0198006.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
frontend/dist/assets/logo.13003d72.png
vendored
Normal file
BIN
frontend/dist/assets/logo.13003d72.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||||
<link rel="shortcut icon" type="icon" href="/assets/favicon.0d253ced.ico" />
|
<link rel="shortcut icon" type="icon" href="/assets/favicon.0d253ced.ico" />
|
||||||
<script type="module" crossorigin src="/assets/index.a8cf9285.js"></script>
|
<script type="module" crossorigin src="/assets/index.a0198006.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index.60ca0ee5.css">
|
<link rel="stylesheet" href="/assets/index.60ca0ee5.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -1,17 +1,23 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { RootState, useAppDispatch, useAppSelector } from '../../../../app/store';
|
import {
|
||||||
|
RootState,
|
||||||
|
useAppDispatch,
|
||||||
|
useAppSelector,
|
||||||
|
} from '../../../../app/store';
|
||||||
import IAINumberInput from '../../../../common/components/IAINumberInput';
|
import IAINumberInput from '../../../../common/components/IAINumberInput';
|
||||||
import { setThreshold } from '../../optionsSlice';
|
import { setThreshold } from '../../optionsSlice';
|
||||||
|
|
||||||
export default function Threshold() {
|
export default function Threshold() {
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
const threshold = useAppSelector((state: RootState) => state.options.threshold);
|
const threshold = useAppSelector(
|
||||||
|
(state: RootState) => state.options.threshold
|
||||||
|
);
|
||||||
|
|
||||||
const handleChangeThreshold = (v: number) => dispatch(setThreshold(v));
|
const handleChangeThreshold = (v: number) => dispatch(setThreshold(v));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<IAINumberInput
|
<IAINumberInput
|
||||||
label='Threshold'
|
label="Threshold"
|
||||||
min={0}
|
min={0}
|
||||||
max={1000}
|
max={1000}
|
||||||
step={0.1}
|
step={0.1}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { MdAddAPhoto } from 'react-icons/md';
|
|
||||||
import { generateImage } from '../../../app/socketio/actions';
|
import { generateImage } from '../../../app/socketio/actions';
|
||||||
import { useAppDispatch } from '../../../app/store';
|
import { useAppDispatch } from '../../../app/store';
|
||||||
import IAIIconButton from '../../../common/components/IAIIconButton';
|
import IAIButton from '../../../common/components/IAIButton';
|
||||||
import useCheckParameters from '../../../common/hooks/useCheckParameters';
|
import useCheckParameters from '../../../common/hooks/useCheckParameters';
|
||||||
|
|
||||||
export default function InvokeButton() {
|
export default function InvokeButton() {
|
||||||
@ -14,9 +13,8 @@ export default function InvokeButton() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<IAIIconButton
|
<IAIButton
|
||||||
icon={<MdAddAPhoto />}
|
label="Invoke"
|
||||||
tooltip="Invoke"
|
|
||||||
aria-label="Invoke"
|
aria-label="Invoke"
|
||||||
type="submit"
|
type="submit"
|
||||||
isDisabled={!isReady}
|
isDisabled={!isReady}
|
||||||
|
Loading…
Reference in New Issue
Block a user