Skip to content

Commit

Permalink
Update _nim_backend.py (#744)
Browse files Browse the repository at this point in the history
* Update _nim_backend.py

* Update _nim_backend.py
  • Loading branch information
TuanaCelik authored May 22, 2024
1 parent 7141c68 commit 31e61b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(
self,
model: str,
api_url: str,
api_key: Optional[Secret] = None,
api_key: Optional[Secret] = Secret.from_env_var("NVIDIA_API_KEY"),
model_kwargs: Optional[Dict[str, Any]] = None,
):
headers = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(
self,
model: str,
api_url: str,
api_key: Optional[Secret] = None,
api_key: Optional[Secret] = Secret.from_env_var("NVIDIA_API_KEY"),
model_kwargs: Optional[Dict[str, Any]] = None,
):
headers = {
Expand Down

0 comments on commit 31e61b7

Please sign in to comment.