Skip to content

Commit

Permalink
Add pydantic types to settings.py project metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiankielhofner committed Sep 9, 2023
1 parent 30f6007 commit 8f0d637
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

class APISettings(BaseSettings):
# Project metadata
name = "Willow Inference Server"
description = "High Performance Language Inference API"
version = "1.0"
name: str= "Willow Inference Server"
description: str = "High Performance Language Inference API"
version: str = "1.0"

# default beam_size - 5 is lib default, 1 for greedy
beam_size: int = 1
Expand Down

0 comments on commit 8f0d637

Please sign in to comment.