Skip to content

Commit

Permalink
fix(docker): what's going on..
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikanthc committed Oct 19, 2024
1 parent 3303312 commit 00a11b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const authentication: Handle = async ({ event, resolve }) => {
};

export const configuration: Handle = async ({event, resolve}) => {
ensureCollectionExists(event.locals.pb);
await ensureCollectionExists(event.locals.pb);
const settings = await event.locals.pb.collection('settings').getList(1,1);

console.log(settings)
Expand Down
1 change: 1 addition & 0 deletions src/lib/fileFuncs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export async function ensureCollectionExists(pb) {
model: 'tiny',
openai: '',
default_openai_model: 'gpt-4o',
default_template: '',
threads: 2,
processors: 1,
diarize: false,
Expand Down

0 comments on commit 00a11b4

Please sign in to comment.