Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bibibi12345
/
gcli2api
like
14
Running
App
Files
Files
Community
7
Fetching metadata from the HF Docker repository...
refs/pr/3
gcli2api
/
run.py
bibibi12345
hf test
cb01b8b
about 2 months ago
raw
Copy download link
history
blame
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)