Skip to content

Commit

Permalink
fix faster-whisper model size dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Mar 31, 2023
1 parent 5ff472b commit f179261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "subsai"
version = "1.0.6"
version = "1.0.7"
authors = [
{name = "abdeladim-s"},
]
Expand Down
2 changes: 1 addition & 1 deletion src/subsai/models/faster_whisper_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FasterWhisperModel(AbstractModel):
config_schema = {
# load model config
'model_size_or_path': {
'type': str,
'type': list,
'description': 'Size of the model to use (e.g. "large-v2", "small", "tiny.en", etc.)'
'or a path to a converted model directory. When a size is configured, the converted'
'model is downloaded from the Hugging Face Hub.',
Expand Down

0 comments on commit f179261

Please sign in to comment.