mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
hidden random seed
This commit is contained in:
1 parent
a4db5980b3
commit
7720555b0c
2 files changed
+7
-2
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ const initialValues = {
|
||||
//basics
|
||||
seed: "",
|
||||
sdModelToken: "weight_83xpresyjswy97ppk0fyct146",
|
||||
loraModelToken: "",
|
||||
loraModelToken: "weight_13yfxfafv195ejwh3meesebdk",
|
||||
posPrompt: "",
|
||||
negPrompt: "",
|
||||
|
||||
|
||||
+6
-1
@@ -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(),
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user