update
This commit is contained in:
parent
188257d8eb
commit
67ac342cfe
@ -68,7 +68,7 @@ export default function TextImagePanel({ filters }) {
|
|||||||
`/content/rokn/t2i?model_key=${filters?.tab_menu}`,
|
`/content/rokn/t2i?model_key=${filters?.tab_menu}`,
|
||||||
postRequest,
|
postRequest,
|
||||||
{
|
{
|
||||||
onSuccess: (data) => console.log(data),
|
onSuccess: (data) => setImages(data?.images),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -263,7 +263,7 @@ export default function TextImagePanel({ filters }) {
|
|||||||
<Divider my={"20px"} borderColor={"gray.300"} />
|
<Divider my={"20px"} borderColor={"gray.300"} />
|
||||||
<ResultBox
|
<ResultBox
|
||||||
type="image"
|
type="image"
|
||||||
loading={isGeneratingImage}
|
loading={isGeneratingImage || isGeneratingRoknImage}
|
||||||
resultData={images}
|
resultData={images}
|
||||||
imgWidth={width || 500}
|
imgWidth={width || 500}
|
||||||
imgHeight={height || 500}
|
imgHeight={height || 500}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user