fix(text-to-image): parameter passing
This commit is contained in:
parent
92e554a527
commit
bf787328b5
@ -84,7 +84,9 @@ export function Index() {
|
|||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
try {
|
try {
|
||||||
const result: Result = await fal.subscribe('fal-ai/comfy-server', {
|
const result: Result = await fal.subscribe('fal-ai/comfy-server', {
|
||||||
input: getWorkflow({}),
|
input: getWorkflow({
|
||||||
|
prompt: prompt,
|
||||||
|
}),
|
||||||
pollInterval: 3000, // Default is 1000 (every 1s)
|
pollInterval: 3000, // Default is 1000 (every 1s)
|
||||||
logs: true,
|
logs: true,
|
||||||
onQueueUpdate(update) {
|
onQueueUpdate(update) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user