Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
templates/fastapi-uvicorn
kamau1
/
PesaQ-api
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
PesaQ-api
/
start.py
kamau1
Update start.py
40e6e86
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
157 Bytes
import
subprocess
import
os
app_file =
"app.py"
app_full_path = os.path.join(os.path.dirname(__file__), app_file)
subprocess.run(app_full_path, shell=
True
)