Skip to content

Commit

Permalink
forgotten break
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeronymous committed Feb 25, 2024
1 parent 90720b8 commit 6197f08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions whisper_timestamped/transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2427,6 +2427,7 @@ def load_model(
model_path = list(set(mapping["weight_map"].values()))
folder = os.path.dirname(index_file)
model_path = [os.path.join(folder, p) for p in model_path]
break
assert model_path is not None
except:
raise RuntimeError(f"Original error: {err}\nCould not find model {name} from HuggingFace nor local folders.")
Expand Down

0 comments on commit 6197f08

Please sign in to comment.