Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
damdkago
/
mergesort
like
0
Sleeping
App
Files
Files
Community
damdkago
commited on
Dec 28, 2023
Commit
73b9fa5
•
1 Parent(s):
f7630ac
first commit
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
import os
2
+
from subprocess import Popen
3
+
4
+
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
5
+
worker = Popen(command)
6
+
worker.wait()