forked from mito-systems/sol-mem-gen
Update util
This commit is contained in:
1 parent
455ab152df
commit
d360e14aa3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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'
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user