Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
cahya/websocket
TangibleAI
/
websocket
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8f3e522
websocket
/
start.sh
Hobson
Duplicate from cahya/websocket
8f3e522
over 2 years ago
raw
Copy download link
history
blame
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