Skip to content

Commit

Permalink
text correction
Browse files Browse the repository at this point in the history
  • Loading branch information
erew123 authored Nov 5, 2024
1 parent 2c2c31e commit a8ed41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def safe_load_json(file_path, backup_path=None):
"engines_available": [
{
"name": "parler",
"selected_model": "parler - parler_tts_mini_v0.1"
"selected_model": "parler - parler_tts_mini_v1"
},
{
"name": "piper",
Expand Down Expand Up @@ -210,7 +210,7 @@ def safe_load_json(file_path, backup_path=None):
if engine_dir.is_dir():
# Add the new engine to the list
tts_engines_data['engines_available'].append(engine)
print(f"[{branding}TTS] \033[92mNew TTS Engine : \033[91mAdded {engine_name}\033[0m")
print(f"[{branding}TTS] \033[92mNew TTS Engine : \033[91mAdded {engine_name}\033[0m")

# Backup the current tts_engines.json before saving the updated file
shutil.copy(tts_engines_path, tts_engines_backup_path)
Expand Down

0 comments on commit a8ed41a

Please sign in to comment.