Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
NSC9
/
Artificial_Calculus_Teacher
like
8
Runtime error
App
Files
Files
Community
5
d401d08
Artificial_Calculus_Teacher
/
app.py
NSC9
Update app.py
8017838
over 1 year ago
raw
Copy download link
history
blame
Safe
152 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()