PlayerBPlaytime
commited on
Commit
•
e49c838
1
Parent(s):
a2a0336
Update tabs/voice_blender/voice_blender.py
Browse files
tabs/voice_blender/voice_blender.py
CHANGED
@@ -52,7 +52,7 @@ def blend_models(model_name, alpha_a):
|
|
52 |
if not model_paths["model_a"] or not model_paths["model_b"]:
|
53 |
raise FileNotFoundError("Models not found. Please download the models first.")
|
54 |
|
55 |
-
message, model_blended = run_model_blender_script(model_name, model_paths["
|
56 |
return message, model_blended
|
57 |
except Exception as e:
|
58 |
return f"An error occurred blending the models: {str(e)}", None
|
|
|
52 |
if not model_paths["model_a"] or not model_paths["model_b"]:
|
53 |
raise FileNotFoundError("Models not found. Please download the models first.")
|
54 |
|
55 |
+
message, model_blended = run_model_blender_script(model_name, model_paths["model_b"], model_paths["model_a"], alpha_a)
|
56 |
return message, model_blended
|
57 |
except Exception as e:
|
58 |
return f"An error occurred blending the models: {str(e)}", None
|