Skip to content

Commit

Permalink
feat: upgrade sdxl version
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Feb 4, 2024
1 parent 9d70cee commit 4e9257a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/server/src/services/generation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function isReplicateResponse(res: object): res is [string, string] {

export async function getReplicateAIImages({ prompt }: { prompt: string }) {
const output = await replicate.run(
"stability-ai/sdxl:1bfb924045802467cf8869d96b231a12e6aa994abfe37e337c63a4e49a8c6c41",
"stability-ai/sdxl:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b",
{
input: { prompt, num_outputs: 2, width: 768, height: 768 },
}
Expand Down
2 changes: 1 addition & 1 deletion packages/database/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import postgres from "postgres";
dotenv.config();

const client = postgres(
process.env.POSTGRES_URL ?? process.env.DATABASE_URL ?? ""
process.env.POSTGRES_URL ?? process.env.DATABASE_URL ?? "",
);

const migrationDB = drizzle(client);
Expand Down

0 comments on commit 4e9257a

Please sign in to comment.