File size: 238 Bytes
ee4eee7
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import subprocess
import os

if __name__ == "__main__":
    # Run Chainlit server on Hugging Face port 7860
    subprocess.run([
        "chainlit", "run", "app_large_books.py",
        "--host", "0.0.0.0",
        "--port", "7860"
    ])