Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Geek7
/
flk
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d602aa2
flk
/
app.py
Geek7
Update app.py
d602aa2
verified
6 months ago
raw
Copy download link
history
blame
215 Bytes
import
os
if
__name__ ==
"__main__"
:
# Run the Flask app using Gunicorn in the background with nohup
command =
"gunicorn -w 4 -b 0.0.0.0:7860 myapp:myapp > gunicorn_output.log 2>&1 &"
os.system(command)