fix(text-to-image): parameter passing

This commit is contained in:
badayvedat 2024-04-23 05:25:46 +03:00
parent 92e554a527
commit bf787328b5

View File

@ -84,7 +84,9 @@ export function Index() {
const start = Date.now();
try {
const result: Result = await fal.subscribe('fal-ai/comfy-server', {
input: getWorkflow({}),
input: getWorkflow({
prompt: prompt,
}),
pollInterval: 3000, // Default is 1000 (every 1s)
logs: true,
onQueueUpdate(update) {