Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
damdkago
/
mergesort
like
0
Sleeping
App
Files
Files
Community
main
mergesort
/
app.py
damdkago
second
166fbc1
8 months ago
raw
Copy download link
history
blame
contribute
delete
No virus
196 Bytes
import
os
from
dotenv
import
load_dotenv
from
subprocess
import
Popen
load_dotenv()
command = [
"mercury"
,
"run"
,
f"0.0.0.0:
{os.environ.get(
'PORT'
,
7860
)}
"
]
worker = Popen(command)
worker.wait()