toto10's picture
aa926620ca6701673dec0f931c22897dc1c41bb94a3cec6e3b01f666d53a734a
65f2719
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",
)