from src import demo from multiprocessing import cpu_count demo.queue(concurrency_count=cpu_count()).launch()