update
This commit is contained in:
parent
1606b32898
commit
b427a8cd1e
@ -88,7 +88,12 @@ export default function LlmPanel({ filters }) {
|
||||
/>
|
||||
<FormLabel w={"120px"}>حداکثر تعداد توکن:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("max_tokens")} />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("max_tokens")}
|
||||
type="number"
|
||||
defaultValue={128}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
<HStack>
|
||||
@ -103,7 +108,7 @@ export default function LlmPanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>تعداد:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("number")} />
|
||||
<Input bgColor={"white"} {...register("number")} type="number" />
|
||||
</FormControl>
|
||||
</HStack>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
|
||||
@ -82,7 +82,12 @@ export default function TextImagePanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>طول:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("height")} type="number" />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("height")}
|
||||
type="number"
|
||||
defaultValue={768}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
<HStack w={"100%"} alignItems={"start"}>
|
||||
@ -97,11 +102,21 @@ export default function TextImagePanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>عرض:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("width")} type="number" />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("width")}
|
||||
type="number"
|
||||
defaultValue={768}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
<FormLabel>seed:</FormLabel>
|
||||
<Input bgColor={"white"} {...register("seed")} type="number" />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("seed")}
|
||||
type="number"
|
||||
defaultValue={42}
|
||||
/>
|
||||
</FormControl>
|
||||
</HStack>
|
||||
<HStack>
|
||||
@ -122,6 +137,7 @@ export default function TextImagePanel({ filters }) {
|
||||
bgColor={"white"}
|
||||
{...register("num_inference_steps")}
|
||||
type="number"
|
||||
defaultValue={60}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
@ -141,6 +157,7 @@ export default function TextImagePanel({ filters }) {
|
||||
bgColor={"white"}
|
||||
{...register("guidance_scale")}
|
||||
type="number"
|
||||
defaultValue={7}
|
||||
/>
|
||||
</FormControl>
|
||||
</HStack>
|
||||
|
||||
@ -78,11 +78,21 @@ export default function TextVideoPanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>تعداد فریم ها:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("num_frames")} />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("num_frames")}
|
||||
type="number"
|
||||
defaultValue={31}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
<FormLabel>seed:</FormLabel>
|
||||
<Input bgColor={"white"} {...register("seed")} />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("seed")}
|
||||
type="number"
|
||||
defaultValue={42}
|
||||
/>
|
||||
</FormControl>
|
||||
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
@ -98,7 +108,12 @@ export default function TextVideoPanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>مقیاس راهنمایی:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("guidance_scale")} />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("guidance_scale")}
|
||||
type="number"
|
||||
defaultValue={5.2}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
<HStack alignItems={"start"}>
|
||||
@ -113,7 +128,12 @@ export default function TextVideoPanel({ filters }) {
|
||||
/>
|
||||
<FormLabel>تعداد مراحل استنتاج:</FormLabel>
|
||||
</HStack>
|
||||
<Input bgColor={"white"} {...register("num_inference_steps")} />
|
||||
<Input
|
||||
bgColor={"white"}
|
||||
{...register("num_inference_steps")}
|
||||
type="number"
|
||||
defaultValue={60}
|
||||
/>
|
||||
</FormControl>
|
||||
</HStack>
|
||||
<FormControl as={VStack} alignItems={"start"}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user