Skip to content

Commit 36d0940

Browse files
committed
add output size to dev demo
1 parent 9a7bac9 commit 36d0940

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

adminforth/spa/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export async function callApi({path, method, body=undefined}: {
3030
return null;
3131
}
3232
return await r.json();
33-
} catch(e){
33+
} catch(e) {
3434
adminforth.alert({variant:'danger', message: window.i18n?.global?.t('Something went wrong, please try again later'),})
35-
console.error(`error in callApi ${path}`,e);
35+
console.error(`error in callApi ${path}`, e);
3636
}
3737
}
3838

dev-demo/resources/apartments.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ export default {
303303
// },
304304
generationPrompt: "Add a 10 kittyies to the appartment look, it should be foto-realistic, they should be different colors, sitting all around the appartment",
305305
countToGenerate: 3,
306+
outputSize: '1024x1024',
306307
// rateLimit: {
307308
// limit: "2/1m",
308309
// errorMessage:

0 commit comments

Comments
 (0)