forked from mito-systems/sol-mem-gen
Update util
This commit is contained in:
parent
455ab152df
commit
d360e14aa3
@ -88,7 +88,7 @@ const Page: React.FC = (): React.ReactElement => {
|
||||
|
||||
if (!transactionSignature) {
|
||||
return { error: 'Transaction signature not found' }
|
||||
}
|
||||
};
|
||||
|
||||
// Generate image with specified model and transaction reference
|
||||
const fluxResult = await generateWithFlux(prompt, modelId, transactionSignature);
|
||||
|
@ -26,6 +26,6 @@ export async function uploadToPinata(imageUrl: string): Promise<FluxGenerationRe
|
||||
} catch (error) {
|
||||
return {
|
||||
error: error instanceof Error ? error.message : 'Upload failed'
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user