File size: 512 Bytes
34097e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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",
    )