Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pplonski
/
mr
like
1
Sleeping
App
Files
Files
Community
main
mr
/
app.py
pplonski
Update app.py
2cb133f
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
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()