forked from mito-systems/sol-mem-gen
stuff
This commit is contained in:
parent
f521fe4087
commit
ea82bbce75
@ -35,11 +35,6 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
|
|||||||
width: IMAGE_WIDTH,
|
width: IMAGE_WIDTH,
|
||||||
height: IMAGE_HEIGHT
|
height: IMAGE_HEIGHT
|
||||||
},
|
},
|
||||||
// Additional parameters for consistent output
|
|
||||||
num_images: 1,
|
|
||||||
scheduler: "DDIM",
|
|
||||||
num_inference_steps: 50,
|
|
||||||
guidance_scale: 7.5
|
|
||||||
},
|
},
|
||||||
logs: true,
|
logs: true,
|
||||||
onQueueUpdate: (update) => {
|
onQueueUpdate: (update) => {
|
||||||
|
@ -21,7 +21,7 @@ const connection = new Connection(
|
|||||||
{
|
{
|
||||||
commitment: 'confirmed',
|
commitment: 'confirmed',
|
||||||
wsEndpoint: SOLANA_WEBSOCKET_URL,
|
wsEndpoint: SOLANA_WEBSOCKET_URL,
|
||||||
confirmTransactionInitialTimeout: 30000, // 30 seconds
|
confirmTransactionInitialTimeout: 60000, // 60 seconds
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user