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
Sa-m
commited on
May 5, 2022
Commit
e3a53b9
•
1 Parent(s):
3b2ba15
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
import subprocess
2
+
3
+
# subprocess.Popen("FLASK_APP=server.py FLASK_DEBUG=1 FLASK_ENV=development flask run --port 7860", shell=True).communicate()
4
+
subprocess.Popen("python server.py", shell=True).communicate()