Docs and bump default pytorch version to 2.2.1 latest

This commit is contained in:
litagin02
2024-03-15 21:25:24 +09:00
parent e42991f7e3
commit 1a8a7edb9c
5 changed files with 5 additions and 15 deletions

View File

@@ -380,7 +380,6 @@ class TTSModelHolder:
def get_model_for_gradio(
self, model_name: str, model_path_str: str
) -> tuple[gr.Dropdown, gr.Button, gr.Dropdown]:
model_path = Path(model_path_str)
if model_name not in self.model_files_dict:
raise ValueError(f"Model `{model_name}` is not found")