From bbc2de371355c63a8ee1b3989e881c65586e3834 Mon Sep 17 00:00:00 2001 From: mrq Date: Tue, 5 Nov 2024 11:50:05 -0600 Subject: [PATCH] ugh --- setup.py | 2 +- vall_e/emb/qnt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 622d6ab..f6c3a00 100755 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ setup( "descript-audio-codec", # gradio web UI (my linux install doesn't like 5.x, windows is fine) - f"gradio{"<5.0.0" if not sys.platform.startswith("win") else ""}" + f"gradio{'<5.0.0' if not sys.platform.startswith('win') else ''}" ], extras_require = { diff --git a/vall_e/emb/qnt.py b/vall_e/emb/qnt.py index 2815511..5939b38 100755 --- a/vall_e/emb/qnt.py +++ b/vall_e/emb/qnt.py @@ -296,7 +296,7 @@ def _load_dac_model(device="cuda"): model.backend = "dac" model.model_type = kwargs["model_type"] - model.device = device + #model.device = device return model