hidden random seed

This commit is contained in:
wil committed 2024-02-24 22:14:25 -05:00
1 parent a4db5980b3
commit 7720555b0c
2 files changed
+7 -2

No files matched your search

@@ -17,7 +17,7 @@ const initialValues = {
//basics
seed: "",
sdModelToken: "weight_83xpresyjswy97ppk0fyct146",
loraModelToken: "",
loraModelToken: "weight_13yfxfafv195ejwh3meesebdk",
posPrompt: "",
negPrompt: "",
@@ -12,6 +12,9 @@ import {
} from "components/common";
import EnqueueVideoStyleTransfer from "@storyteller/components/src/api/video_styleTransfer";
import generateRandomSeed from 'resources/generateRandomSeed';
import { Action, State } from "../../reducer";
import { TableOfKeyValues } from "../../commons";
import { initialValues } from "./defaultValues";
@@ -19,6 +22,7 @@ import {
mapRequest,
WorkflowValuesType,
} from "./helpers";
import SectionAdvanceOptions from "./sectionAdvanceOptions";
@@ -37,7 +41,8 @@ export default function PageVSTApp({
const [workflowValues, setWorkflowValues] = useState<WorkflowValuesType>({
fileToken: pageState.mediaFileToken || mediaToken,
...initialValues
...initialValues,
seed: generateRandomSeed(),
});