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