Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

396 B
Raw Blame
import { SliderWithInput } from '@lobehub/ui';
import { memo } from 'react';

import { useGenerationConfigParam } from '@/store/image/slices/generationConfig/hooks';

const CfgSliderInput = memo(() => {
  const { value, setValue, min, max } = useGenerationConfigParam('cfg');
  return <SliderWithInput max={max} min={min} value={value} onChange={setValue} />;
});

export default CfgSliderInput;