toto10's picture
34d8b59e470cb8bb29febe9216fd3aad5fab95fd4ca35aa41b47b4eb754cdc8b
82b129b
raw
history blame
512 Bytes
import argparse
def preload(parser: argparse.ArgumentParser):
parser.add_argument(
"--cloudflared",
action="store_true",
help="use trycloudflare, alternative to gradio --share",
)
parser.add_argument(
"--localhostrun",
action="store_true",
help="use localhost.run, alternative to gradio --share",
)
parser.add_argument(
"--remotemoe",
action="store_true",
help="use remote.moe, alternative to gradio --share",
)