mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
prettier errors fixed
This commit is contained in:
committed by
psychedelicious
parent
7a94fb6c04
commit
a2b9d12e88
@@ -45,7 +45,14 @@ export const FloatGeneratorArithmeticSequenceSettings = memo(
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.step')}</FormLabel>
|
||||
<CompositeNumberInput value={state.step} onChange={onChangeStep} min={-Infinity} max={Infinity} step={0.01} allowMath />
|
||||
<CompositeNumberInput
|
||||
value={state.step}
|
||||
onChange={onChangeStep}
|
||||
min={-Infinity}
|
||||
max={Infinity}
|
||||
step={0.01}
|
||||
allowMath
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.count')}</FormLabel>
|
||||
|
||||
@@ -45,7 +45,14 @@ export const FloatGeneratorLinearDistributionSettings = memo(
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.end')}</FormLabel>
|
||||
<CompositeNumberInput value={state.end} onChange={onChangeEnd} min={-Infinity} max={Infinity} step={0.01} allowMath />
|
||||
<CompositeNumberInput
|
||||
value={state.end}
|
||||
onChange={onChangeEnd}
|
||||
min={-Infinity}
|
||||
max={Infinity}
|
||||
step={0.01}
|
||||
allowMath
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.count')}</FormLabel>
|
||||
|
||||
@@ -45,11 +45,25 @@ export const FloatGeneratorUniformRandomDistributionSettings = memo(
|
||||
<Flex gap={2} alignItems="flex-end">
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.min')}</FormLabel>
|
||||
<CompositeNumberInput value={state.min} onChange={onChangeMin} min={-Infinity} max={Infinity} step={0.01} allowMath />
|
||||
<CompositeNumberInput
|
||||
value={state.min}
|
||||
onChange={onChangeMin}
|
||||
min={-Infinity}
|
||||
max={Infinity}
|
||||
step={0.01}
|
||||
allowMath
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.max')}</FormLabel>
|
||||
<CompositeNumberInput value={state.max} onChange={onChangeMax} min={-Infinity} max={Infinity} step={0.01} allowMath />
|
||||
<CompositeNumberInput
|
||||
value={state.max}
|
||||
onChange={onChangeMax}
|
||||
min={-Infinity}
|
||||
max={Infinity}
|
||||
step={0.01}
|
||||
allowMath
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('common.count')}</FormLabel>
|
||||
|
||||
@@ -29,7 +29,14 @@ export const StringGeneratorDynamicPromptsCombinatorialSettings = memo(
|
||||
<Flex gap={2} flexDir="column">
|
||||
<FormControl orientation="vertical">
|
||||
<FormLabel>{t('dynamicPrompts.maxPrompts')}</FormLabel>
|
||||
<CompositeNumberInput value={state.maxPrompts} onChange={onChangeMaxPrompts} min={1} max={1000} w="full" allowMath />
|
||||
<CompositeNumberInput
|
||||
value={state.maxPrompts}
|
||||
onChange={onChangeMaxPrompts}
|
||||
min={1}
|
||||
max={1000}
|
||||
w="full"
|
||||
allowMath
|
||||
/>
|
||||
</FormControl>
|
||||
<GeneratorTextareaWithFileUpload value={state.input} onChange={onChangeInput} />
|
||||
</Flex>
|
||||
|
||||
Reference in New Issue
Block a user