diff --git a/.ipynb_checkpoints/VITS_vc_ft-checkpoint.ipynb b/.ipynb_checkpoints/VITS_vc_ft-checkpoint.ipynb deleted file mode 100644 index 363fcab..0000000 --- a/.ipynb_checkpoints/VITS_vc_ft-checkpoint.ipynb +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/VC_inference.py b/VC_inference.py index 2d0b720..317a082 100644 --- a/VC_inference.py +++ b/VC_inference.py @@ -54,6 +54,7 @@ def create_vc_fn(model, hps, speaker_ids): if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--model_dir", default="./G_latest.pth", help="directory to your fine-tuned model") + parser.add_argument("--share", default=True, help="make link public (used in colab)") args = parser.parse_args() hps = utils.get_hparams_from_file("./configs/finetune_speaker.json") @@ -87,4 +88,4 @@ if __name__ == "__main__": btn = gr.Button("Convert!") btn.click(vc_fn, inputs=[source_speaker, target_speaker, record_audio, upload_audio], outputs=[message_box, converted_audio]) - app.launch() + app.launch(share=args.share)