Wendong-Fan's picture
Update app.py
9c0905e verified
raw
history blame
431 Bytes
from apps.data_explorer.data_explorer import construct_blocks, parse_arguments
from apps.data_explorer.downloader import download_data
import os
os.system("pip uninstall -y gradio")
os.system("pip install gradio==3.41.2")
if __name__ == "__main__":
download_data()
args = parse_arguments()
blocks = construct_blocks(args.data_path, args.default_dataset)
blocks.queue(args.concurrency_count)
blocks.launch()