Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
xsbnhy
/
cli2
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
cli2
/
run.py
cc165
Upload 16 files
9a2e8a5
verified
4 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
202 Bytes
import
os
import
uvicorn
from
src.main
import
app
if
__name__ ==
"__main__"
:
host = os.getenv(
"HOST"
,
"0.0.0.0"
)
port =
int
(os.getenv(
"PORT"
,
"8888"
))
uvicorn.run(app, host=host, port=port)