ea1e5cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import sys import gradio.deploy_space import gradio.reload def cli(): args = sys.argv[1:] if len(args) == 0: raise ValueError("No file specified.") if args[0] == "deploy": gradio.deploy_space.deploy() else: gradio.reload.main()