Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Partha11
/
ml-server
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ml-server
/
app.py
Partha11
changed port again
7d78ca0
about 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
203 Bytes
import
uvicorn
if
__name__ ==
"__main__"
:
config = uvicorn.Config(
app=
"src.main:api"
,
port=
10003
,
log_level=
'info'
)
server = uvicorn.Server(config)
server.run()