Add a gradio warning to notify user of rvc.json creation

This commit is contained in:
Jarod Mica 2024-08-25 11:40:06 -07:00
parent 3d612cea77
commit fc7a029981

View file

@ -124,7 +124,7 @@ def generate_proxy(
):
rvc_config_path = os.path.join("config", "rvc.json")
if not os.path.exists(rvc_config_path):
raise gr.Error("No RVC configurtation found, check configs folder. If rvc.json does not exist, please change a setting in the RVC area to create one.")
raise gr.Error("No RVC configuration found, check configs folder. If rvc.json does not exist, please change a setting in the RVC area to create one.")
kwargs = locals()
try: