File size: 169 Bytes
9890cb8
 
 
9fc2cfc
9890cb8
 
1
2
3
4
5
6
import os
from subprocess import Popen
 
command = ["panel", "serve", f"njain-custchurn.hf.space:{os.environ.get('PORT', 7860)}"] 
worker = Popen(command) 
worker.wait()