1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

fix parser

This commit is contained in:
源文雨
2023-04-01 15:35:24 +08:00
parent 981ec0ddb8
commit b9b433f7eb

View File

@@ -632,7 +632,7 @@ with gr.Blocks() as app:
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--colab", type=bool, default=False, help="Launch in colab")
parser.add_argument("--colab", action='store_true', help="Launch in colab")
cmd_opts = parser.parse_args()
if cmd_opts.colab:
app.launch(share=True)