mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-19 18:41:52 +00:00
fix parser
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user