import multiprocessing # Gunicorn config variables bind = "0.0.0.0:7860" # Replace with your desired host and port workers = multiprocessing.cpu_count() * 2 + 1 threads = 2 * multiprocessing.cpu_count() timeout = 3600