From 12acac6f772d4d010ae17d414e78fa204f857b3a Mon Sep 17 00:00:00 2001 From: James Betker Date: Mon, 2 May 2022 21:37:39 -0600 Subject: [PATCH] Fix default output path --- tortoise/do_tts.py | 2 +- tortoise/read.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tortoise/do_tts.py b/tortoise/do_tts.py index 405ad7f..77df67d 100644 --- a/tortoise/do_tts.py +++ b/tortoise/do_tts.py @@ -15,7 +15,7 @@ if __name__ == '__main__': parser.add_argument('--voice_diversity_intelligibility_slider', type=float, help='How to balance vocal diversity with the quality/intelligibility of the spoken text. 0 means highly diverse voice (not recommended), 1 means maximize intellibility', default=.5) - parser.add_argument('--output_path', type=str, help='Where to store outputs.', default='../results/') + parser.add_argument('--output_path', type=str, help='Where to store outputs.', default='results/') parser.add_argument('--model_dir', type=str, help='Where to find pretrained model checkpoints. Tortoise automatically downloads these to .models, so this' 'should only be specified if you have custom checkpoints.', default='.models') args = parser.parse_args() diff --git a/tortoise/read.py b/tortoise/read.py index 5212e3b..9ee9ad6 100644 --- a/tortoise/read.py +++ b/tortoise/read.py @@ -31,7 +31,7 @@ if __name__ == '__main__': parser.add_argument('--textfile', type=str, help='A file containing the text to read.', default="tortoise/data/riding_hood.txt") parser.add_argument('--voice', type=str, help='Selects the voice to use for generation. See options in voices/ directory (and add your own!) ' 'Use the & character to join two voices together. Use a comma to perform inference on multiple voices.', default='pat') - parser.add_argument('--output_path', type=str, help='Where to store outputs.', default='../results/longform/') + parser.add_argument('--output_path', type=str, help='Where to store outputs.', default='results/longform/') parser.add_argument('--preset', type=str, help='Which voice preset to use.', default='standard') parser.add_argument('--regenerate', type=str, help='Comma-separated list of clip numbers to re-generate, or nothing.', default=None) parser.add_argument('--voice_diversity_intelligibility_slider', type=float,