mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
changed studio vst values
This commit is contained in:
1 parent
20779cc4da
commit
ce6ec61399
3 files changed
+9
-7
No files matched your search
@@ -3,7 +3,7 @@ import MakeRequest from "../MakeRequest";
|
||||
export interface EnqueueVSTRequest {
|
||||
creator_set_visibility: string,
|
||||
enable_lipsync: boolean,
|
||||
input_media_file_token: string,
|
||||
input_file: string,
|
||||
negative_prompt: string,
|
||||
prompt: string,
|
||||
style: string,
|
||||
|
||||
@@ -30,6 +30,8 @@ interface SelectModalProps {
|
||||
required?: boolean;
|
||||
}
|
||||
|
||||
const SelectModalContent = ({ searchTabs }: { searchTabs: any }) => <NonRouteTabs tabs={searchTabs} />;
|
||||
|
||||
const SelectModal = memo(
|
||||
({
|
||||
label,
|
||||
@@ -170,11 +172,11 @@ const SelectModal = memo(
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Modal
|
||||
<Modal {...{ contentProps: { searchTabs } }}
|
||||
show={isModalOpen}
|
||||
handleClose={closeModal}
|
||||
title={modalTitle}
|
||||
content={() => <NonRouteTabs tabs={searchTabs} />}
|
||||
content={SelectModalContent}
|
||||
showButtons={false}
|
||||
padding={false}
|
||||
large={true}
|
||||
|
||||
+4
-4
@@ -39,7 +39,7 @@ export default function PageVSTApp() {
|
||||
EnqueueVST("",{
|
||||
creator_set_visibility: vstValues.visibility,
|
||||
enable_lipsync: true,
|
||||
input_media_file_token: job?.maybe_result?.entity_token || "",
|
||||
input_file: job?.maybe_result?.entity_token || "",
|
||||
negative_prompt: vstValues.negPrompt,
|
||||
prompt: vstValues.posPrompt,
|
||||
style: vstValues.sdModelToken,
|
||||
@@ -79,7 +79,7 @@ export default function PageVSTApp() {
|
||||
{
|
||||
label: "2D Anime",
|
||||
imageUrl: "/images/landing/onboarding/styles/style-2d-anime.webp",
|
||||
token: "anime_2d",
|
||||
token: "anime_2d_flat",
|
||||
},
|
||||
{
|
||||
label: "3D Cartoon",
|
||||
@@ -89,12 +89,12 @@ export default function PageVSTApp() {
|
||||
{
|
||||
label: "Ink B&W",
|
||||
imageUrl: "/images/landing/onboarding/styles/style-ink-bw.webp",
|
||||
token: "ink",
|
||||
token: "ink_bw_style",
|
||||
},
|
||||
{
|
||||
label: "Origami",
|
||||
imageUrl: "/images/landing/onboarding/styles/style-origami.webp",
|
||||
token: "origami",
|
||||
token: "paper_origami",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user