diff --git a/pack.sh b/pack.sh index add1165..f35d27c 100644 --- a/pack.sh +++ b/pack.sh @@ -5,6 +5,7 @@ tar --exclude=".*" \ --exclude="node_modules" \ --exclude="outputs" \ --exclude="inputs" \ + --exclude="demo" \ -cvzf $FILENAME simple-tts/ mv $FILENAME simple-tts/ cd simple-tts diff --git a/demo/tongue-twister.txt b/tongue-twister.txt similarity index 100% rename from demo/tongue-twister.txt rename to tongue-twister.txt diff --git a/tts.py b/tts.py index b019613..4463855 100755 --- a/tts.py +++ b/tts.py @@ -43,7 +43,7 @@ prep_texts = [ ] dir_path = os.path.expanduser('~') -installed_demo_file = f"{dir_path}/.local/lib/simple-tts/demo/tongue-twister.txt" +installed_demo_file = f"{dir_path}/.local/lib/simple-tts/tongue-twister.txt" def parse_args(): parser = argparse.ArgumentParser(description="Simple TTS - machine learning text-to-speech for your terminal", allow_abbrev=False) @@ -177,7 +177,7 @@ def main(): if not default_exists: script_dir = os.path.dirname(os.path.realpath(__file__)) - file_path = os.path.join(script_dir, 'demo/tongue-twister.txt') + file_path = os.path.join(script_dir, 'tongue-twister.txt') print(f"Using demo file: {file_path}") if os.path.isfile(file_path):