marker / gradio_run.py
xiaoyao9184's picture
Synced repo using 'sync_with_huggingface' Github Action
8259252 verified
raw
history blame contribute delete
193 Bytes
# NOTE: copy from gradio bin
import re
import sys
from gradio.cli import cli
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cli())