Skip to content

Commit e5b76ac

Browse files
authored
Fix broken SpeechBrain API (#421)
1 parent e89ac78 commit e5b76ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker_images/speechbrain/app/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ModelType(Enum):
2222
GRAPHEMETOPHONEME = "GRAPHEMETOPHONEME"
2323

2424

25-
def get_type(model_id, interface_type="interface"):
25+
def get_type(model_id, interface_type="speechbrain_interface"):
2626
info = HfApi().model_info(repo_id=model_id)
2727
if info.config:
2828
if "speechbrain" in info.config:

0 commit comments

Comments
 (0)