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
|
||||
*.sln
|
||||
*.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" />
|
||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||
<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">
|
||||
</head>
|
||||
|
||||
|
@ -1,23 +1,29 @@
|
||||
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 { setThreshold } from '../../optionsSlice';
|
||||
|
||||
export default function Threshold() {
|
||||
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));
|
||||
|
||||
return (
|
||||
<IAINumberInput
|
||||
label='Threshold'
|
||||
min={0}
|
||||
max={1000}
|
||||
step={0.1}
|
||||
onChange={handleChangeThreshold}
|
||||
value={threshold}
|
||||
isInteger={false}
|
||||
label="Threshold"
|
||||
min={0}
|
||||
max={1000}
|
||||
step={0.1}
|
||||
onChange={handleChangeThreshold}
|
||||
value={threshold}
|
||||
isInteger={false}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
import React from 'react';
|
||||
import { MdAddAPhoto } from 'react-icons/md';
|
||||
import { generateImage } from '../../../app/socketio/actions';
|
||||
import { useAppDispatch } from '../../../app/store';
|
||||
import IAIIconButton from '../../../common/components/IAIIconButton';
|
||||
import IAIButton from '../../../common/components/IAIButton';
|
||||
import useCheckParameters from '../../../common/hooks/useCheckParameters';
|
||||
|
||||
export default function InvokeButton() {
|
||||
@ -14,9 +13,8 @@ export default function InvokeButton() {
|
||||
};
|
||||
|
||||
return (
|
||||
<IAIIconButton
|
||||
icon={<MdAddAPhoto />}
|
||||
tooltip="Invoke"
|
||||
<IAIButton
|
||||
label="Invoke"
|
||||
aria-label="Invoke"
|
||||
type="submit"
|
||||
isDisabled={!isReady}
|
||||
|
Loading…
Reference in New Issue
Block a user