Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
cahya/websocket
clone3
/
websocket
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
websocket
/
start.sh
cahya
first commit
594d38b
over 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
236 Bytes
#!/usr/bin/env bash
set
-e
cd
/fastapi/app
if
[
"
$DEBUG
"
=
true
] ;
then
echo
'Debugging - ON'
uvicorn main:app --host 0.0.0.0 --port 80 --reload
else
echo
'Debugging - OFF'
uvicorn main:app --host 0.0.0.0 --port 80
fi