Skip to content

Commit

Permalink
Add defaut api key value to whisper openai api model
Browse files Browse the repository at this point in the history
  • Loading branch information
lotka committed Mar 28, 2024
1 parent 0ee158f commit 3cc15f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subsai/models/whisper_api_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class WhisperAPIModel(AbstractModel):
'type': str,
'description': "Your OpenAI API key",
'options': None,
'default': None
'default': os.environ.get('OPENAI_KEY', None)
},
'language': {
'type': str,
Expand Down

0 comments on commit 3cc15f4

Please sign in to comment.