Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Sa-m
/
Flask-App-test-purpose
like
0
Runtime error
App
Files
Files
e3a53b9
Flask-App-test-purpose
/
app.py
Sa-m
Create app.py
e3a53b9
over 2 years ago
raw
Copy download link
history
blame
Safe
210 Bytes
import
subprocess
# subprocess.Popen("FLASK_APP=server.py FLASK_DEBUG=1 FLASK_ENV=development flask run --port 7860", shell=True).communicate()
subprocess.Popen(
"python server.py"
, shell=
True
).communicate()