mr / app.py
pplonski's picture
Update app.py
2cb133f
raw
history blame contribute delete
151 Bytes
import os
from subprocess import Popen
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
worker = Popen(command)
worker.wait()