Skip to content

Commit

Permalink
Make lorax openai endpoint working (huggingface#755)
Browse files Browse the repository at this point in the history
make base model for lorax inference working

Co-authored-by: Nathan Sarrazin <[email protected]>
  • Loading branch information
flozi00 and nsarrazin authored Feb 14, 2024
1 parent 7c22da3 commit 10d7a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const modelConfig = z.object({
/** Used as an identifier in DB */
id: z.string().optional(),
/** Used to link to the model page, and for inference */
name: z.string().min(1),
name: z.string().default(""),
displayName: z.string().min(1).optional(),
description: z.string().min(1).optional(),
websiteUrl: z.string().url().optional(),
Expand Down

0 comments on commit 10d7a5a

Please sign in to comment.