Skip to content

Commit

Permalink
🐛 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Aug 8, 2024
1 parent 6a7d9de commit 74941b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/api/impl/openai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def transcribe(
mid=model,
prompt=prompt,
language=language,
tempperature=temperature if temperature > 0 else None,
temperature=temperature if temperature > 0 else None,
format=response_format,
)

Expand Down
2 changes: 1 addition & 1 deletion modules/core/handler/datacls/stt_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class STTConfig(BaseModel):
prefix: Optional[Union[str, List[int]]] = None

language: Optional[str] = None
tempperature: Optional[float] = None
temperature: Optional[float] = None
sample_len: Optional[int] = None
best_of: Optional[int] = None
beam_size: Optional[int] = None
Expand Down

0 comments on commit 74941b4

Please sign in to comment.